pub enum OnchainMetadataStandard {
Cip25v1,
Cip25v2,
Cip68v1,
}Expand description
If on-chain metadata passes validation, we display the standard under which it is valid
Variants§
Trait Implementations§
source§impl Clone for OnchainMetadataStandard
impl Clone for OnchainMetadataStandard
source§fn clone(&self) -> OnchainMetadataStandard
fn clone(&self) -> OnchainMetadataStandard
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for OnchainMetadataStandard
impl Debug for OnchainMetadataStandard
source§impl Default for OnchainMetadataStandard
impl Default for OnchainMetadataStandard
source§fn default() -> OnchainMetadataStandard
fn default() -> OnchainMetadataStandard
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OnchainMetadataStandard
impl<'de> Deserialize<'de> for OnchainMetadataStandard
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 Hash for OnchainMetadataStandard
impl Hash for OnchainMetadataStandard
source§impl Ord for OnchainMetadataStandard
impl Ord for OnchainMetadataStandard
source§fn cmp(&self, other: &OnchainMetadataStandard) -> Ordering
fn cmp(&self, other: &OnchainMetadataStandard) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for OnchainMetadataStandard
impl PartialEq for OnchainMetadataStandard
source§fn eq(&self, other: &OnchainMetadataStandard) -> bool
fn eq(&self, other: &OnchainMetadataStandard) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for OnchainMetadataStandard
impl PartialOrd for OnchainMetadataStandard
source§fn partial_cmp(&self, other: &OnchainMetadataStandard) -> Option<Ordering>
fn partial_cmp(&self, other: &OnchainMetadataStandard) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for OnchainMetadataStandard
impl Serialize for OnchainMetadataStandard
impl Copy for OnchainMetadataStandard
impl Eq for OnchainMetadataStandard
impl StructuralEq for OnchainMetadataStandard
impl StructuralPartialEq for OnchainMetadataStandard
Auto Trait Implementations§
impl RefUnwindSafe for OnchainMetadataStandard
impl Send for OnchainMetadataStandard
impl Sync for OnchainMetadataStandard
impl Unpin for OnchainMetadataStandard
impl UnwindSafe for OnchainMetadataStandard
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more