referrerpolicy=no-referrer-when-downgrade

UsernameOf

Type Alias 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§

pub struct UsernameOf<T: Config>(/* private fields */);