pub struct CoinSelectionResult {
pub selected: Vec<Utxo>,
pub total_value: u64,
pub estimated_fee: u64,
pub change: u64,
}Expand description
Result of coin selection.
Fields§
§selected: Vec<Utxo>Selected UTXOs.
total_value: u64Total value of selected UTXOs.
estimated_fee: u64Estimated fee in satoshis.
change: u64Change amount (0 if no change).
Trait Implementations§
Source§impl Clone for CoinSelectionResult
impl Clone for CoinSelectionResult
Source§fn clone(&self) -> CoinSelectionResult
fn clone(&self) -> CoinSelectionResult
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for CoinSelectionResult
impl RefUnwindSafe for CoinSelectionResult
impl Send for CoinSelectionResult
impl Sync for CoinSelectionResult
impl Unpin for CoinSelectionResult
impl UnsafeUnpin for CoinSelectionResult
impl UnwindSafe for CoinSelectionResult
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