pub struct StorageEntryMetadata { /* private fields */ }Expand description
Metadata for a single storage entry.
Implementations§
Source§impl StorageEntryMetadata
impl StorageEntryMetadata
Sourcepub fn modifier(&self) -> StorageEntryModifier
pub fn modifier(&self) -> StorageEntryModifier
Is the entry value optional or does it have a default value.
Sourcepub fn entry_type(&self) -> &StorageEntryType
pub fn entry_type(&self) -> &StorageEntryType
Type of the storage entry.
Sourcepub fn default_bytes(&self) -> &[u8] ⓘ
pub fn default_bytes(&self) -> &[u8] ⓘ
The SCALE encoded default value for this entry.
Trait Implementations§
Source§impl Clone for StorageEntryMetadata
impl Clone for StorageEntryMetadata
Source§fn clone(&self) -> StorageEntryMetadata
fn clone(&self) -> StorageEntryMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StorageEntryMetadata
impl RefUnwindSafe for StorageEntryMetadata
impl Send for StorageEntryMetadata
impl Sync for StorageEntryMetadata
impl Unpin for StorageEntryMetadata
impl UnwindSafe for StorageEntryMetadata
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