Enum ink_metadata::MetadataVersion
source · pub enum MetadataVersion {
V4,
}
Expand description
The metadata version of the generated ink! contract.
The serialized metadata format (which this represents) is different from the version of this crate or the contract for Rust semantic versioning purposes.
Note
Versions other than the Default
are considered deprecated. If you want to
deserialize legacy metadata versions you will need to use an old version of
this crate.
Variants§
V4
Trait Implementations§
source§impl Debug for MetadataVersion
impl Debug for MetadataVersion
source§impl Default for MetadataVersion
impl Default for MetadataVersion
source§impl<'de> Deserialize<'de> for MetadataVersion
impl<'de> Deserialize<'de> for MetadataVersion
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<MetadataVersion> for MetadataVersion
impl PartialEq<MetadataVersion> for MetadataVersion
source§fn eq(&self, other: &MetadataVersion) -> bool
fn eq(&self, other: &MetadataVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.