Struct sp_storage::Storage [−][src]
pub struct Storage { pub top: StorageMap, pub children_default: HashMap<Vec<u8>, StorageChild>, }
Expand description
Struct containing data needed for a storage.
Fields
top: StorageMap
Top trie storage data.
children_default: HashMap<Vec<u8>, StorageChild>
Children trie storage data.
The key does not including prefix, for the default
trie kind, so this is exclusively for the ChildType::ParentKeyId
tries.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Storage
impl UnwindSafe for Storage
Blanket Implementations
Mutably borrows from an owned value. Read more