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 for CurrencyMetadata
impl PartialEq 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 ==.source§impl Serialize for CurrencyMetadata
impl Serialize for CurrencyMetadata
impl StructuralPartialEq for CurrencyMetadata
Auto Trait Implementations§
impl RefUnwindSafe for CurrencyMetadata
impl Send for CurrencyMetadata
impl Sync for CurrencyMetadata
impl Unpin for CurrencyMetadata
impl UnwindSafe for CurrencyMetadata
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