Enum rgbwallet::InvoiceState
source · pub enum InvoiceState {
Void,
Fungible(u64, u64),
Data(Vec<u8>),
Attach(AttachId),
}Variants§
Trait Implementations§
source§impl Clone for InvoiceState
impl Clone for InvoiceState
source§fn clone(&self) -> InvoiceState
fn clone(&self) -> InvoiceState
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 InvoiceState
impl Debug for InvoiceState
source§impl Display for InvoiceState
impl Display for InvoiceState
source§impl Hash for InvoiceState
impl Hash for InvoiceState
source§impl PartialEq for InvoiceState
impl PartialEq for InvoiceState
source§fn eq(&self, other: &InvoiceState) -> bool
fn eq(&self, other: &InvoiceState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for InvoiceState
impl StructuralEq for InvoiceState
impl StructuralPartialEq for InvoiceState
Auto Trait Implementations§
impl RefUnwindSafe for InvoiceState
impl Send for InvoiceState
impl Sync for InvoiceState
impl Unpin for InvoiceState
impl UnwindSafe for InvoiceState
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.