pub struct TxIn {
pub previous_output: OutPoint,
pub script_sig: Vec<u8>,
pub sequence: u32,
}Expand description
A transaction input.
Fields§
§previous_output: OutPointThe outpoint being spent.
script_sig: Vec<u8>The scriptSig (empty for SegWit inputs).
sequence: u32Sequence number (0xFFFFFFFF = final).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TxIn
impl RefUnwindSafe for TxIn
impl Send for TxIn
impl Sync for TxIn
impl Unpin for TxIn
impl UnsafeUnpin for TxIn
impl UnwindSafe for TxIn
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