Struct frame_metadata::v14::RuntimeMetadataV14
source · [−]pub struct RuntimeMetadataV14 {
pub types: PortableRegistry,
pub pallets: Vec<PalletMetadata<PortableForm>>,
pub extrinsic: ExtrinsicMetadata<PortableForm>,
pub ty: <PortableForm as Form>::Type,
}
Expand description
The metadata of a runtime.
Fields
types: PortableRegistry
pallets: Vec<PalletMetadata<PortableForm>>
Metadata of all the pallets.
extrinsic: ExtrinsicMetadata<PortableForm>
Metadata of the extrinsic.
ty: <PortableForm as Form>::Type
The type of the Runtime
.
Implementations
pub fn new(
pallets: Vec<PalletMetadata>,
extrinsic: ExtrinsicMetadata,
runtime_type: MetaType
) -> Self
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RuntimeMetadataV14
impl Send for RuntimeMetadataV14
impl Sync for RuntimeMetadataV14
impl Unpin for RuntimeMetadataV14
impl UnwindSafe for RuntimeMetadataV14
Blanket Implementations
Mutably borrows from an owned value. Read more