pub enum TokenStandard {
Erc20,
Erc721,
Erc1155,
Fungible,
FungibleAsset,
NonFungible,
NonFungibleEdition,
ProgrammableNonFungible,
ProgrammableNonFungibleEdition,
}Expand description
Token standard.
Variants§
Erc20
ERC-20 fungible token.
Erc721
ERC-721 non-fungible token.
Erc1155
ERC-1155 multi-token.
Fungible
Solana fungible token.
FungibleAsset
Aptos fungible asset.
NonFungible
Solana non-fungible token.
NonFungibleEdition
Solana non-fungible edition.
ProgrammableNonFungible
Solana programmable non-fungible token.
ProgrammableNonFungibleEdition
Solana programmable non-fungible edition.
Trait Implementations§
Source§impl Clone for TokenStandard
impl Clone for TokenStandard
Source§fn clone(&self) -> TokenStandard
fn clone(&self) -> TokenStandard
Returns a duplicate 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 TokenStandard
impl Debug for TokenStandard
Source§impl<'de> Deserialize<'de> for TokenStandard
impl<'de> Deserialize<'de> for TokenStandard
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 for TokenStandard
impl PartialEq for TokenStandard
Source§impl Serialize for TokenStandard
impl Serialize for TokenStandard
impl Eq for TokenStandard
impl StructuralPartialEq for TokenStandard
Auto Trait Implementations§
impl Freeze for TokenStandard
impl RefUnwindSafe for TokenStandard
impl Send for TokenStandard
impl Sync for TokenStandard
impl Unpin for TokenStandard
impl UnsafeUnpin for TokenStandard
impl UnwindSafe for TokenStandard
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.