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
Trait Implementations
sourceimpl Debug for MetadataVersion
impl Debug for MetadataVersion
sourceimpl Default for MetadataVersion
impl Default for MetadataVersion
sourceimpl<'de> Deserialize<'de> for MetadataVersion
impl<'de> Deserialize<'de> for MetadataVersion
sourcefn 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
sourceimpl PartialEq<MetadataVersion> for MetadataVersion
impl PartialEq<MetadataVersion> for MetadataVersion
sourcefn eq(&self, other: &MetadataVersion) -> bool
fn eq(&self, other: &MetadataVersion) -> bool
sourceimpl Serialize for MetadataVersion
impl Serialize for MetadataVersion
impl Eq for MetadataVersion
impl StructuralEq for MetadataVersion
impl StructuralPartialEq for MetadataVersion
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more