Struct bdk_wallet::signer::SignerOrdering
source · pub struct SignerOrdering(pub usize);
Expand description
Defines the order in which signers are called
The default value is 100
. Signers with an ordering above that will be called later,
and they will thus see the partial signatures added to the transaction once they get to sign
themselves.
Tuple Fields§
§0: usize
Trait Implementations§
source§impl Clone for SignerOrdering
impl Clone for SignerOrdering
source§fn clone(&self) -> SignerOrdering
fn clone(&self) -> SignerOrdering
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 SignerOrdering
impl Debug for SignerOrdering
source§impl Default for SignerOrdering
impl Default for SignerOrdering
source§impl Ord for SignerOrdering
impl Ord for SignerOrdering
source§fn cmp(&self, other: &SignerOrdering) -> Ordering
fn cmp(&self, other: &SignerOrdering) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SignerOrdering
impl PartialEq for SignerOrdering
source§fn eq(&self, other: &SignerOrdering) -> bool
fn eq(&self, other: &SignerOrdering) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SignerOrdering
impl PartialOrd for SignerOrdering
source§fn partial_cmp(&self, other: &SignerOrdering) -> Option<Ordering>
fn partial_cmp(&self, other: &SignerOrdering) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for SignerOrdering
impl StructuralPartialEq for SignerOrdering
Auto Trait Implementations§
impl Freeze for SignerOrdering
impl RefUnwindSafe for SignerOrdering
impl Send for SignerOrdering
impl Sync for SignerOrdering
impl Unpin for SignerOrdering
impl UnwindSafe for SignerOrdering
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