Enum ex3_node_types::asset::TokenType
source · pub enum TokenType {
Native = 0,
NativeGas = 1,
ERC20 = 3,
ERC721 = 4,
DFT = 5,
ICRC1 = 6,
BRC20 = 7,
}Expand description
Token type
Variants§
Native = 0
NativeGas = 1
ERC20 = 3
EVM fungible token type
ERC721 = 4
EVM non-fungible token type
DFT = 5
Dfinity token [DFT] standard
ICRC1 = 6
Dfinity token [ICRC1] standard
BRC20 = 7
BRC20
BRC20 is the fungible token type of ordinal protocol (bitcoin)
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 Ord for TokenType
impl Ord for TokenType
source§impl PartialEq for TokenType
impl PartialEq for TokenType
source§impl PartialOrd for TokenType
impl PartialOrd for TokenType
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 TokenType
impl StructuralPartialEq for TokenType
Auto Trait Implementations§
impl Freeze for TokenType
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