Struct frame_metadata::v14::ExtrinsicMetadata
source · [−]pub struct ExtrinsicMetadata<T: Form = MetaForm> {
pub ty: T::Type,
pub version: u8,
pub signed_extensions: Vec<SignedExtensionMetadata<T>>,
}
Expand description
Metadata of the extrinsic used by the runtime.
Fields
ty: T::Type
The type of the extrinsic.
version: u8
Extrinsic version.
signed_extensions: Vec<SignedExtensionMetadata<T>>
The signed extensions in the order they appear in the extrinsic.
Trait Implementations
impl<T: Form> Decode for ExtrinsicMetadata<T> where
T::Type: Decode,
T::Type: Decode,
Vec<SignedExtensionMetadata<T>>: Decode,
Vec<SignedExtensionMetadata<T>>: Decode,
impl<T: Form> Decode for ExtrinsicMetadata<T> where
T::Type: Decode,
T::Type: Decode,
Vec<SignedExtensionMetadata<T>>: Decode,
Vec<SignedExtensionMetadata<T>>: Decode,
impl<T: Form> Encode for ExtrinsicMetadata<T> where
T::Type: Encode,
T::Type: Encode,
Vec<SignedExtensionMetadata<T>>: Encode,
Vec<SignedExtensionMetadata<T>>: Encode,
impl<T: Form> Encode for ExtrinsicMetadata<T> where
T::Type: Encode,
T::Type: Encode,
Vec<SignedExtensionMetadata<T>>: Encode,
Vec<SignedExtensionMetadata<T>>: Encode,
type Output = ExtrinsicMetadata<PortableForm>
type Output = ExtrinsicMetadata<PortableForm>
The portable version of Self
.
Convert self
to the portable form by using the registry for caching.
impl<T: PartialEq + Form> PartialEq<ExtrinsicMetadata<T>> for ExtrinsicMetadata<T> where
T::Type: PartialEq,
impl<T: PartialEq + Form> PartialEq<ExtrinsicMetadata<T>> for ExtrinsicMetadata<T> where
T::Type: PartialEq,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T: Form> EncodeLike<ExtrinsicMetadata<T>> for ExtrinsicMetadata<T> where
T::Type: Encode,
T::Type: Encode,
Vec<SignedExtensionMetadata<T>>: Encode,
Vec<SignedExtensionMetadata<T>>: Encode,
Auto Trait Implementations
impl<T> RefUnwindSafe for ExtrinsicMetadata<T> where
<T as Form>::String: RefUnwindSafe,
<T as Form>::Type: RefUnwindSafe,
impl<T> UnwindSafe for ExtrinsicMetadata<T> where
<T as Form>::String: UnwindSafe,
<T as Form>::Type: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more