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