Enum gekko_metadata::MetadataVersion [−][src]
pub enum MetadataVersion {}Show 14 variants
V0, V1, V2, V3, V4, V5, V6, V7, V8, V9, V10, V11, V12, V13(MetadataV13),
Expand description
Identifier of all the available Substrate metadata versions.
Variants
Tuple Fields of V13
0: MetadataV13
Implementations
Consumes the object and returns the inner metadata structure, expecting the latest version. Results in an error if the version is not the latest.
Returns the version number as an integer.
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 RefUnwindSafe for MetadataVersion
impl Send for MetadataVersion
impl Sync for MetadataVersion
impl Unpin for MetadataVersion
impl UnwindSafe for MetadataVersion
Blanket Implementations
Mutably borrows from an owned value. Read more