Struct subxt_metadata::RuntimeApiMetadata
source · pub struct RuntimeApiMetadata<'a> { /* private fields */ }Expand description
Metadata for the available runtime APIs.
Implementations§
source§impl<'a> RuntimeApiMetadata<'a>
impl<'a> RuntimeApiMetadata<'a>
sourcepub fn methods(
&self
) -> impl ExactSizeIterator<Item = &'a RuntimeApiMethodMetadata>
pub fn methods( &self ) -> impl ExactSizeIterator<Item = &'a RuntimeApiMethodMetadata>
An iterator over the trait methods.
sourcepub fn method_by_name(&self, name: &str) -> Option<&'a RuntimeApiMethodMetadata>
pub fn method_by_name(&self, name: &str) -> Option<&'a RuntimeApiMethodMetadata>
Get a specific trait method given its name.
Trait Implementations§
source§impl<'a> Clone for RuntimeApiMetadata<'a>
impl<'a> Clone for RuntimeApiMetadata<'a>
source§fn clone(&self) -> RuntimeApiMetadata<'a>
fn clone(&self) -> RuntimeApiMetadata<'a>
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 moresource§impl<'a> Debug for RuntimeApiMetadata<'a>
impl<'a> Debug for RuntimeApiMetadata<'a>
impl<'a> Copy for RuntimeApiMetadata<'a>
Auto Trait Implementations§
impl<'a> Freeze for RuntimeApiMetadata<'a>
impl<'a> RefUnwindSafe for RuntimeApiMetadata<'a>
impl<'a> Send for RuntimeApiMetadata<'a>
impl<'a> Sync for RuntimeApiMetadata<'a>
impl<'a> Unpin for RuntimeApiMetadata<'a>
impl<'a> UnwindSafe for RuntimeApiMetadata<'a>
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