Struct ex3_node_types::asset::CandidCryptoAsset
source · pub struct CandidCryptoAsset {
pub chain: CandidChain,
pub type: TokenType,
pub address: String,
}Fields§
§chain: CandidChain§type: TokenType§address: StringTrait Implementations§
source§impl CandidType for CandidCryptoAsset
impl CandidType for CandidCryptoAsset
source§impl Clone for CandidCryptoAsset
impl Clone for CandidCryptoAsset
source§fn clone(&self) -> CandidCryptoAsset
fn clone(&self) -> CandidCryptoAsset
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 CandidCryptoAsset
impl Debug for CandidCryptoAsset
source§impl<'de> Deserialize<'de> for CandidCryptoAsset
impl<'de> Deserialize<'de> for CandidCryptoAsset
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 From<CandidCryptoAsset> for CryptoAsset
impl From<CandidCryptoAsset> for CryptoAsset
source§fn from(candid_crypto_asset: CandidCryptoAsset) -> Self
fn from(candid_crypto_asset: CandidCryptoAsset) -> Self
Converts to this type from the input type.
source§impl From<CryptoAsset> for CandidCryptoAsset
impl From<CryptoAsset> for CandidCryptoAsset
source§fn from(crypto_asset: CryptoAsset) -> Self
fn from(crypto_asset: CryptoAsset) -> Self
Converts to this type from the input type.
source§impl Hash for CandidCryptoAsset
impl Hash for CandidCryptoAsset
source§impl Ord for CandidCryptoAsset
impl Ord for CandidCryptoAsset
source§fn cmp(&self, other: &CandidCryptoAsset) -> Ordering
fn cmp(&self, other: &CandidCryptoAsset) -> 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 CandidCryptoAsset
impl PartialEq for CandidCryptoAsset
source§fn eq(&self, other: &CandidCryptoAsset) -> bool
fn eq(&self, other: &CandidCryptoAsset) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for CandidCryptoAsset
impl PartialOrd for CandidCryptoAsset
source§fn partial_cmp(&self, other: &CandidCryptoAsset) -> Option<Ordering>
fn partial_cmp(&self, other: &CandidCryptoAsset) -> 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 moreimpl Eq for CandidCryptoAsset
impl StructuralPartialEq for CandidCryptoAsset
Auto Trait Implementations§
impl Freeze for CandidCryptoAsset
impl RefUnwindSafe for CandidCryptoAsset
impl Send for CandidCryptoAsset
impl Sync for CandidCryptoAsset
impl Unpin for CandidCryptoAsset
impl UnwindSafe for CandidCryptoAsset
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