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