Trait frame_support::storage::types::StorageMapMetadata [−][src]
pub trait StorageMapMetadata { const MODIFIER: StorageEntryModifier; const NAME: &'static str; const DEFAULT: DefaultByteGetter; const HASHER: StorageHasher; }
Expand description
Part of storage metadata for a storage map.
NOTE: Generic hasher is supported.
Associated Constants
const DEFAULT: DefaultByteGetter
const HASHER: StorageHasher
Implementors
impl<Prefix, Hasher, Key, Value, QueryKind, OnEmpty, MaxValues> StorageMapMetadata for StorageMap<Prefix, Hasher, Key, Value, QueryKind, OnEmpty, MaxValues> where
Prefix: StorageInstance,
Hasher: StorageHasher,
Key: FullCodec,
Value: FullCodec,
QueryKind: QueryKindTrait<Value, OnEmpty>,
OnEmpty: Get<QueryKind::Query> + 'static,
MaxValues: Get<Option<u32>>,