Type Alias pallet_example_kitchensink::pallet::AlternativeSyntax2
source · pub type AlternativeSyntax2<T: Config> = StorageMap<_GeneratedPrefixForStorageAlternativeSyntax2<T>, Blake2_128Concat, T::AccountId, u32>;
Expand description
Lastly, all storage items, as you saw, had to be generic over T
. If they want to use an
item from Config
, <T: Config>
should be used.
Storage type is [StorageMap
] with key type T :: AccountId
and value type u32
.
Aliased Type§
struct AlternativeSyntax2<T: Config>(/* private fields */);