pub struct WeightedUtxo {
pub satisfaction_weight: Weight,
pub utxo: Utxo,
}
Expand description
A Utxo
with its satisfaction_weight
.
Fields§
§satisfaction_weight: Weight
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§
Source§impl Clone for WeightedUtxo
impl Clone for WeightedUtxo
Source§fn clone(&self) -> WeightedUtxo
fn clone(&self) -> WeightedUtxo
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 WeightedUtxo
impl Debug for WeightedUtxo
Source§impl PartialEq for WeightedUtxo
impl PartialEq for WeightedUtxo
impl Eq for WeightedUtxo
impl StructuralPartialEq for WeightedUtxo
Auto Trait Implementations§
impl Freeze for WeightedUtxo
impl RefUnwindSafe for WeightedUtxo
impl Send for WeightedUtxo
impl Sync for WeightedUtxo
impl Unpin for WeightedUtxo
impl UnwindSafe for WeightedUtxo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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