[][src]Struct bdk::wallet::coin_selection::CoinSelectionResult

pub struct CoinSelectionResult {
    pub txin: Vec<(TxIn, Script)>,
    pub selected_amount: u64,
    pub fee_amount: f32,
}

Result of a successful coin selection

Fields

txin: Vec<(TxIn, Script)>

List of inputs to use, with the respective previous script_pubkey

selected_amount: u64

Sum of the selected inputs' value

fee_amount: f32

Total fee amount in satoshi

Trait Implementations

impl Debug for CoinSelectionResult[src]

Auto Trait Implementations

impl RefUnwindSafe for CoinSelectionResult

impl Send for CoinSelectionResult

impl Sync for CoinSelectionResult

impl Unpin for CoinSelectionResult

impl UnwindSafe for CoinSelectionResult

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,