Type Alias pallet_membership::pallet::Membership
source · pub type Membership<T: Config> = CountedStorageMap<_GeneratedPrefixForStorageMembership<T>, Twox64Concat, T::IdtyId, MembershipData<BlockNumberFor<T>>, OptionQuery>;
Expand description
maps identity id to membership data
Storage type is [CountedStorageMap
] with key type T :: IdtyId and value type MembershipData < BlockNumberFor < T > >.
Aliased Type§
struct Membership<T: Config>(PhantomData<(_GeneratedPrefixForStorageMembership<T>, Twox64Concat, <T as Config>::IdtyId, MembershipData<<<<T as Config>::Block as Block>::Header as Header>::Number>, OptionQuery, GetDefault, GetDefault)>);
Fields§
§0: PhantomData<(_GeneratedPrefixForStorageMembership<T>, Twox64Concat, <T as Config>::IdtyId, MembershipData<<<<T as Config>::Block as Block>::Header as Header>::Number>, OptionQuery, GetDefault, GetDefault)>