Enum rgb_lib::wallet::AssetIface
source · pub enum AssetIface {
RGB20,
RGB25,
}
Expand description
The interface of an RGB asset.
Variants§
Trait Implementations§
source§impl Clone for AssetIface
impl Clone for AssetIface
source§fn clone(&self) -> AssetIface
fn clone(&self) -> AssetIface
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 AssetIface
impl Debug for AssetIface
source§impl<'de> Deserialize<'de> for AssetIface
impl<'de> Deserialize<'de> for AssetIface
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 From<AssetSchema> for AssetIface
impl From<AssetSchema> for AssetIface
source§fn from(x: AssetSchema) -> AssetIface
fn from(x: AssetSchema) -> AssetIface
Converts to this type from the input type.
source§impl Hash for AssetIface
impl Hash for AssetIface
source§impl PartialEq for AssetIface
impl PartialEq for AssetIface
source§fn eq(&self, other: &AssetIface) -> bool
fn eq(&self, other: &AssetIface) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AssetIface
impl Serialize for AssetIface
source§impl TryFrom<TypeName> for AssetIface
impl TryFrom<TypeName> for AssetIface
impl Eq for AssetIface
impl StructuralEq for AssetIface
impl StructuralPartialEq for AssetIface
Auto Trait Implementations§
impl RefUnwindSafe for AssetIface
impl Send for AssetIface
impl Sync for AssetIface
impl Unpin for AssetIface
impl UnwindSafe for AssetIface
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.