Enum ex3_node_types::asset::EVMTokenType
source · pub enum EVMTokenType {
Native,
ERC20,
ERC721,
}Expand description
EVM token type
- Dfinity
- ERC20
- ERC721
Variants§
Trait Implementations§
source§impl CandidType for EVMTokenType
impl CandidType for EVMTokenType
source§impl Clone for EVMTokenType
impl Clone for EVMTokenType
source§fn clone(&self) -> EVMTokenType
fn clone(&self) -> EVMTokenType
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 EVMTokenType
impl Debug for EVMTokenType
source§impl<'de> Deserialize<'de> for EVMTokenType
impl<'de> Deserialize<'de> for EVMTokenType
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 Hash for EVMTokenType
impl Hash for EVMTokenType
source§impl PartialEq<EVMTokenType> for EVMTokenType
impl PartialEq<EVMTokenType> for EVMTokenType
source§fn eq(&self, other: &EVMTokenType) -> bool
fn eq(&self, other: &EVMTokenType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for EVMTokenType
impl Serialize for EVMTokenType
impl Eq for EVMTokenType
impl StructuralEq for EVMTokenType
impl StructuralPartialEq for EVMTokenType
Auto Trait Implementations§
impl RefUnwindSafe for EVMTokenType
impl Send for EVMTokenType
impl Sync for EVMTokenType
impl Unpin for EVMTokenType
impl UnwindSafe for EVMTokenType
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