Type Alias pallet_offences::pallet::Reports

source ·
pub type Reports<T: Config> = StorageMap<_GeneratedPrefixForStorageReports<T>, Twox64Concat, <T as Config>::Hash, OffenceDetails<T::AccountId, T::IdentificationTuple>>;
Expand description

The primary structure that holds all offence records keyed by report identifiers.

Storage type is [StorageMap] with key type ReportIdOf < T > and value type OffenceDetails < T :: AccountId, T :: IdentificationTuple >.

Aliased Type§

struct Reports<T: Config>(PhantomData<(_GeneratedPrefixForStorageReports<T>, Twox64Concat, <T as Config>::Hash, OffenceDetails<<T as Config>::AccountId, <T as Config>::IdentificationTuple>, OptionQuery, GetDefault, GetDefault)>);

Fields§

§0: PhantomData<(_GeneratedPrefixForStorageReports<T>, Twox64Concat, <T as Config>::Hash, OffenceDetails<<T as Config>::AccountId, <T as Config>::IdentificationTuple>, OptionQuery, GetDefault, GetDefault)>