pub struct WalletTransactionInput {
pub txid: String,
pub vout: u32,
pub amount_sat: Option<u64>,
pub address: Option<String>,
}Expand description
An input spent by a wallet transaction.
Fields§
§txid: StringTransaction ID containing the previous output.
vout: u32Index of the previous output.
amount_sat: Option<u64>Value of the previous output in satoshis, when known.
address: Option<String>Address of the previous output, when it belongs to the wallet.
Trait Implementations§
Source§impl Clone for WalletTransactionInput
impl Clone for WalletTransactionInput
Source§fn clone(&self) -> WalletTransactionInput
fn clone(&self) -> WalletTransactionInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WalletTransactionInput
impl Debug for WalletTransactionInput
impl Eq for WalletTransactionInput
Source§impl PartialEq for WalletTransactionInput
impl PartialEq for WalletTransactionInput
impl StructuralPartialEq for WalletTransactionInput
Auto Trait Implementations§
impl Freeze for WalletTransactionInput
impl RefUnwindSafe for WalletTransactionInput
impl Send for WalletTransactionInput
impl Sync for WalletTransactionInput
impl Unpin for WalletTransactionInput
impl UnsafeUnpin for WalletTransactionInput
impl UnwindSafe for WalletTransactionInput
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