pub enum AssetNamespace {
Slip44,
Erc20,
Erc721,
Erc1155,
Spl,
Other(&'static str),
}Expand description
Common asset namespaces
Variants§
Implementations§
Trait Implementations§
Source§impl CandidType for AssetNamespace
impl CandidType for AssetNamespace
Source§impl Clone for AssetNamespace
impl Clone for AssetNamespace
Source§fn clone(&self) -> AssetNamespace
fn clone(&self) -> AssetNamespace
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AssetNamespace
Source§impl Debug for AssetNamespace
impl Debug for AssetNamespace
impl Eq for AssetNamespace
Source§impl From<AssetNamespace> for String
impl From<AssetNamespace> for String
Source§fn from(namespace: AssetNamespace) -> Self
fn from(namespace: AssetNamespace) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AssetNamespace
impl PartialEq for AssetNamespace
Source§fn eq(&self, other: &AssetNamespace) -> bool
fn eq(&self, other: &AssetNamespace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AssetNamespace
Auto Trait Implementations§
impl Freeze for AssetNamespace
impl RefUnwindSafe for AssetNamespace
impl Send for AssetNamespace
impl Sync for AssetNamespace
impl Unpin for AssetNamespace
impl UnsafeUnpin for AssetNamespace
impl UnwindSafe for AssetNamespace
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