Type Alias pallet_ranked_collective::pallet::IdToIndex
source · pub type IdToIndex<T: Config<I>, I: 'static = ()> = StorageDoubleMap<_GeneratedPrefixForStorageIdToIndex<T, I>, Twox64Concat, Rank, Twox64Concat, T::AccountId, MemberIndex>;
Expand description
The index of each ranks’s member into the group of members who have at least that rank.
Storage type is [StorageDoubleMap
] with key1 type Rank, key2 type T :: AccountId and value type MemberIndex.
Aliased Type§
struct IdToIndex<T: Config<I>, I: 'static = ()>(/* private fields */);