pub struct TransactionExtensionMetadata<'a> { /* private fields */ }Expand description
Metadata for the signed extensions used by extrinsics.
Implementations§
Source§impl<'a> TransactionExtensionMetadata<'a>
impl<'a> TransactionExtensionMetadata<'a>
Sourcepub fn identifier(&self) -> &'a str
pub fn identifier(&self) -> &'a str
The unique signed extension identifier, which may be different from the type name.
Sourcepub fn extra_ty(&self) -> u32
pub fn extra_ty(&self) -> u32
The type of the signed extension, with the data to be included in the extrinsic.
Sourcepub fn additional_ty(&self) -> u32
pub fn additional_ty(&self) -> u32
The type of the additional signed data, with the data to be included in the signed payload
Trait Implementations§
Source§impl<'a> Clone for TransactionExtensionMetadata<'a>
impl<'a> Clone for TransactionExtensionMetadata<'a>
Source§fn clone(&self) -> TransactionExtensionMetadata<'a>
fn clone(&self) -> TransactionExtensionMetadata<'a>
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<'a> Freeze for TransactionExtensionMetadata<'a>
impl<'a> RefUnwindSafe for TransactionExtensionMetadata<'a>
impl<'a> Send for TransactionExtensionMetadata<'a>
impl<'a> Sync for TransactionExtensionMetadata<'a>
impl<'a> Unpin for TransactionExtensionMetadata<'a>
impl<'a> UnwindSafe for TransactionExtensionMetadata<'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