Type Alias pallet_identity::pallet::UsernameOf
source · pub type UsernameOf<T: Config> = StorageMap<_GeneratedPrefixForStorageUsernameOf<T>, Twox64Concat, T::AccountId, BoundedVec<u8, <T as Config>::MaxUsernameLength>, OptionQuery>;
Expand description
Identifies the primary username of an account.
Storage type is [StorageMap
] with key type T :: AccountId
and value type Username < T >
.
Aliased Type§
struct UsernameOf<T: Config>(/* private fields */);