Struct sp_storage::Storage
source · 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. Key does not include prefix, only for the default
trie kind,
of ChildType::ParentKeyId
type.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Storage
impl Send for Storage
impl Sync for Storage
impl Unpin for Storage
impl UnwindSafe for Storage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more