Struct bdk::WeightedUtxo
source · [−]Expand description
A Utxo
with its satisfaction_weight
.
Fields
satisfaction_weight: usize
The weight of the witness data and scriptSig
expressed in weight units. This is used to
properly maintain the feerate when adding this input to a transaction during coin selection.
utxo: Utxo
The UTXO
Trait Implementations
sourceimpl Clone for WeightedUtxo
impl Clone for WeightedUtxo
sourcefn clone(&self) -> WeightedUtxo
fn clone(&self) -> WeightedUtxo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WeightedUtxo
impl Debug for WeightedUtxo
sourceimpl PartialEq<WeightedUtxo> for WeightedUtxo
impl PartialEq<WeightedUtxo> for WeightedUtxo
sourcefn eq(&self, other: &WeightedUtxo) -> bool
fn eq(&self, other: &WeightedUtxo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WeightedUtxo) -> bool
fn ne(&self, other: &WeightedUtxo) -> bool
This method tests for !=
.
impl StructuralPartialEq for WeightedUtxo
Auto Trait Implementations
impl RefUnwindSafe for WeightedUtxo
impl Send for WeightedUtxo
impl Sync for WeightedUtxo
impl Unpin for WeightedUtxo
impl UnwindSafe for WeightedUtxo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more