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

V0
V1
V2
V3
V4
V5
V6
V7
V8
V9
V10
V11
V12
V13

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Attempt to deserialise the value from input.

Attempt to skip the encoded value from input. Read more

Returns the fixed encoded size of the type. Read more

Convert self to a slice and append it to the destination.

If possible give a hint of expected size of the encoding. Read more

Convert self to an owned vector.

Convert self to a slice and then invoke the given closure with it.

Calculates the encoded size. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Decode Self and consume all of the given input data. Read more

Decode Self and consume all of the given input data. Read more

Decode Self with the given maximum recursion depth. Read more

Performs the conversion.

Performs the conversion.

Return an encoding of Self prepended by given slice.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.