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 ==.source§impl TryFrom<&[u8]> for CryptoAsset
impl TryFrom<&[u8]> for CryptoAsset
impl Eq for CryptoAsset
impl StructuralEq for CryptoAsset
impl StructuralPartialEq for CryptoAsset
Auto Trait Implementations§
impl RefUnwindSafe for CryptoAsset
impl Send for CryptoAsset
impl Sync for CryptoAsset
impl Unpin for CryptoAsset
impl UnwindSafe for CryptoAsset
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