pub struct TxInputInfo {
pub outpoint: OutPoint,
pub tx_out: TxOut,
pub derivation_path: DerivationPath,
}
Expand description
Output of a previous transaction to be used as an input.
This struct contains signature script in contrast to Utxo so it can be used to sign inputs from different addresses.
Fields§
§outpoint: OutPoint
ID of the output.
tx_out: TxOut
Contents of the output.
derivation_path: DerivationPath
Trait Implementations§
Source§impl Clone for TxInputInfo
impl Clone for TxInputInfo
Source§fn clone(&self) -> TxInputInfo
fn clone(&self) -> TxInputInfo
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 TxInputInfo
impl RefUnwindSafe for TxInputInfo
impl Send for TxInputInfo
impl Sync for TxInputInfo
impl Unpin for TxInputInfo
impl UnwindSafe for TxInputInfo
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