Enum rgb_lib::wallet::TransferKind
source · pub enum TransferKind {
Issuance,
ReceiveBlind,
ReceiveWitness,
Send,
}
Expand description
The type of an RGB transfer.
Variants§
Issuance
A transfer that issued the asset
ReceiveBlind
An incoming transfer via blinded UTXO
ReceiveWitness
An incoming transfer via a Bitcoin script (witness TX)
Send
An outgoing transfer
Trait Implementations§
source§impl Clone for TransferKind
impl Clone for TransferKind
source§fn clone(&self) -> TransferKind
fn clone(&self) -> TransferKind
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 TransferKind
impl Debug for TransferKind
source§impl<'de> Deserialize<'de> for TransferKind
impl<'de> Deserialize<'de> for TransferKind
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 TransferKind
impl PartialEq for TransferKind
source§fn eq(&self, other: &TransferKind) -> bool
fn eq(&self, other: &TransferKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TransferKind
impl Serialize for TransferKind
impl Eq for TransferKind
impl StructuralEq for TransferKind
impl StructuralPartialEq for TransferKind
Auto Trait Implementations§
impl RefUnwindSafe for TransferKind
impl Send for TransferKind
impl Sync for TransferKind
impl Unpin for TransferKind
impl UnwindSafe for TransferKind
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.