Struct gekko_metadata::ExtrinsicInfo [−][src]
pub struct ExtrinsicInfo<'a> { pub module_id: usize, pub dispatch_id: usize, pub module_name: &'a str, pub extrinsic_name: &'a str, pub args: Vec<(&'a str, &'a str)>, pub documentation: Vec<&'a str>, }
Expand description
Parameters and other information about an individual extrinsic.
Fields
module_id: usize
The module Id. This is required when encoding the final extrinsic.
dispatch_id: usize
The dispatch Id. This is required when encoding the final extrinsic.
module_name: &'a str
The name of the module.
extrinsic_name: &'a str
The name of the extrinsic.
args: Vec<(&'a str, &'a str)>
Arguments that must be passed as the extrinsics body. A sequence of key-value pairs, indicating the name and the type, respectively.
documentation: Vec<&'a str>
Documentation of the extrinsic, as provided by the Substrate metadata.
Trait Implementations
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<'a> RefUnwindSafe for ExtrinsicInfo<'a>
impl<'a> Send for ExtrinsicInfo<'a>
impl<'a> Sync for ExtrinsicInfo<'a>
impl<'a> Unpin for ExtrinsicInfo<'a>
impl<'a> UnwindSafe for ExtrinsicInfo<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more