Struct subxt_metadata::StorageEntryMetadata
source · 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 copy 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 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