Struct subxt_metadata::StorageMetadata
source · pub struct StorageMetadata { /* private fields */ }Expand description
Metadata for the storage entries in a pallet.
Implementations§
source§impl StorageMetadata
impl StorageMetadata
sourcepub fn entries(&self) -> &[StorageEntryMetadata]
pub fn entries(&self) -> &[StorageEntryMetadata]
An iterator over the storage entries.
sourcepub fn entry_by_name(&self, name: &str) -> Option<&StorageEntryMetadata>
pub fn entry_by_name(&self, name: &str) -> Option<&StorageEntryMetadata>
Return a specific storage entry given its name.
Trait Implementations§
source§impl Clone for StorageMetadata
impl Clone for StorageMetadata
source§fn clone(&self) -> StorageMetadata
fn clone(&self) -> StorageMetadata
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 StorageMetadata
impl Send for StorageMetadata
impl Sync for StorageMetadata
impl Unpin for StorageMetadata
impl UnwindSafe for StorageMetadata
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