Type Alias pallet_example_kitchensink::pallet::Bar
source · pub type Bar<T> = StorageMap<_GeneratedPrefixForStorageBar<T>, Blake2_128Concat, u32, u32, OptionQuery, GetDefault, GetDefault>;
Expand description
A storage map. This creates a mapping from keys of type u32
to values of type u32
.
Keys and values can be iterated, albeit each value is stored under a unique trie key, meaning that an iteration consists of many database accesses.
Storage type is [StorageMap
] with key type u32
and value type u32
.
Aliased Type§
struct Bar<T>(/* private fields */);