pub struct TxInput<'a> {
pub previous_output: OutPoint<'a>,
pub script_sig: Script<'a>,
pub sequence: u32,
}Expand description
A transaction input, borrowing from the original buffer.
Fields§
§previous_output: OutPoint<'a>Previous output being spent.
script_sig: Script<'a>Unlocking script (scriptSig). Empty for SegWit inputs.
sequence: u32Sequence number.
Implementations§
Trait Implementations§
impl<'a> Copy for TxInput<'a>
Auto Trait Implementations§
impl<'a> Freeze for TxInput<'a>
impl<'a> RefUnwindSafe for TxInput<'a>
impl<'a> Send for TxInput<'a>
impl<'a> Sync for TxInput<'a>
impl<'a> Unpin for TxInput<'a>
impl<'a> UnsafeUnpin for TxInput<'a>
impl<'a> UnwindSafe for TxInput<'a>
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