pub struct TxIn {
pub prev_output: OutPoint,
pub sig_script: Script,
pub sequence: u32,
}
Expand description
Transaction input
Fields§
§prev_output: OutPoint
The previous output transaction reference
sig_script: Script
Signature script for confirming authorization
sequence: u32
Transaction version as defined by the sender for replacement or negotiation
Implementations§
Trait Implementations§
Source§impl Serializable<TxIn> for TxIn
impl Serializable<TxIn> for TxIn
impl Eq for TxIn
impl StructuralPartialEq for TxIn
Auto Trait Implementations§
impl Freeze for TxIn
impl RefUnwindSafe for TxIn
impl Send for TxIn
impl Sync for TxIn
impl Unpin 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