Enum bdk::wallet::tx_builder::TxOrdering
source · pub enum TxOrdering {
Shuffle,
Untouched,
Bip69Lexicographic,
}
Expand description
Ordering of the transaction’s inputs and outputs
Variants§
Implementations§
source§impl TxOrdering
impl TxOrdering
sourcepub fn sort_tx(&self, tx: &mut Transaction)
pub fn sort_tx(&self, tx: &mut Transaction)
Sort transaction inputs and outputs by TxOrdering
variant
Trait Implementations§
source§impl Clone for TxOrdering
impl Clone for TxOrdering
source§fn clone(&self) -> TxOrdering
fn clone(&self) -> TxOrdering
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 TxOrdering
impl Debug for TxOrdering
source§impl Default for TxOrdering
impl Default for TxOrdering
source§impl Hash for TxOrdering
impl Hash for TxOrdering
source§impl Ord for TxOrdering
impl Ord for TxOrdering
source§fn cmp(&self, other: &TxOrdering) -> Ordering
fn cmp(&self, other: &TxOrdering) -> 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<TxOrdering> for TxOrdering
impl PartialEq<TxOrdering> for TxOrdering
source§fn eq(&self, other: &TxOrdering) -> bool
fn eq(&self, other: &TxOrdering) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TxOrdering> for TxOrdering
impl PartialOrd<TxOrdering> for TxOrdering
source§fn partial_cmp(&self, other: &TxOrdering) -> Option<Ordering>
fn partial_cmp(&self, other: &TxOrdering) -> 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 more