Expand description

Versioned ink! project metadata.

Note

Represents the version of the serialized metadata format, which is distinct from the version of this crate for Rust semantic versioning compatibility.

Variants

V0(MetadataVersionDeprecated)

Version 0 placeholder. Represents the original non-versioned metadata format.

V1(MetadataVersionDeprecated)

Version 1 of the contract metadata.

V2(MetadataVersionDeprecated)

Version 2 of the contract metadata.

V3(InkProject)

Version 3 of the contract metadata.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Performs the conversion.

Serialize this value into the given Serde serializer. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.