Struct chainhook_types::CurrencyMetadata
source · pub struct CurrencyMetadata {
pub asset_class_identifier: String,
pub asset_identifier: Option<String>,
pub standard: CurrencyStandard,
}Fields§
§asset_class_identifier: String§asset_identifier: Option<String>§standard: CurrencyStandardTrait Implementations§
source§impl Clone for CurrencyMetadata
impl Clone for CurrencyMetadata
source§fn clone(&self) -> CurrencyMetadata
fn clone(&self) -> CurrencyMetadata
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 CurrencyMetadata
impl Debug for CurrencyMetadata
source§impl<'de> Deserialize<'de> for CurrencyMetadata
impl<'de> Deserialize<'de> for CurrencyMetadata
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<CurrencyMetadata> for CurrencyMetadata
impl PartialEq<CurrencyMetadata> for CurrencyMetadata
source§fn eq(&self, other: &CurrencyMetadata) -> bool
fn eq(&self, other: &CurrencyMetadata) -> bool
This method tests for
self and other values to be equal, and is used
by ==.