Enum ex3_node_types::asset::TokenType
source · pub enum TokenType {
Native,
NativeGas,
ERC20,
ERC721,
DFT,
ICRC1,
}Expand description
Token type
Variants§
Native
NativeGas
ERC20
EVM fungible token type
ERC721
EVM non-fungible token type
DFT
Dfinity token [DFT] standard
ICRC1
Dfinity token [ICRC1] standard
Trait Implementations§
source§impl CandidType for TokenType
impl CandidType for TokenType
source§impl<'de> Deserialize<'de> for TokenType
impl<'de> Deserialize<'de> for TokenType
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<TokenType> for TokenType
impl PartialEq<TokenType> for TokenType
impl Eq for TokenType
impl StructuralEq for TokenType
impl StructuralPartialEq for TokenType
Auto Trait Implementations§
impl RefUnwindSafe for TokenType
impl Send for TokenType
impl Sync for TokenType
impl Unpin for TokenType
impl UnwindSafe for TokenType
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