Struct ex3_node_types::asset::CryptoAsset
source · pub struct CryptoAsset {
pub chain: Chain,
pub token_type: TokenType,
pub token_id: Option<String>,
}Expand description
crypto asset
Fields§
§chain: Chain§token_type: TokenType§token_id: Option<String>Implementations§
Trait Implementations§
source§impl CandidType for CryptoAsset
impl CandidType for CryptoAsset
source§impl Clone for CryptoAsset
impl Clone for CryptoAsset
source§fn clone(&self) -> CryptoAsset
fn clone(&self) -> CryptoAsset
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 CryptoAsset
impl Debug for CryptoAsset
source§impl Display for CryptoAsset
impl Display for CryptoAsset
source§impl Hash for CryptoAsset
impl Hash for CryptoAsset
source§impl PartialEq<CryptoAsset> for CryptoAsset
impl PartialEq<CryptoAsset> for CryptoAsset
source§fn eq(&self, other: &CryptoAsset) -> bool
fn eq(&self, other: &CryptoAsset) -> bool
This method tests for
self and other values to be equal, and is used
by ==.