[−][src]Struct bitcoin::blockdata::transaction::TxIn
A transaction input, which defines old coins to be consumed
Fields
previous_output: OutPoint
The reference to the previous output that is being used an an input
script_sig: Script
The script which pushes values on the stack which will cause the referenced output's script to accept
sequence: u32
The sequence number, which suggests to miners which of two conflicting transactions should be preferred, or 0xFFFFFFFF to ignore this feature. This is generally never used since the miner behaviour cannot be enforced.
witness: Vec<Vec<u8>>
Witness data: an array of byte-arrays. Note that this field is not (de)serialized with the rest of the TxIn in Encodable/Decodable, as it is (de)serialized at the end of the full Transaction. It is (de)serialized with the rest of the TxIn in other (de)serialization routines.
Trait Implementations
impl Encodable for TxIn
[src]
impl Decodable for TxIn
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Default for TxIn
[src]
impl Clone for TxIn
[src]
fn clone(&self) -> TxIn
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<TxIn> for TxIn
[src]
impl Eq for TxIn
[src]
impl Debug for TxIn
[src]
impl Hash for TxIn
[src]
Auto Trait Implementations
impl Unpin for TxIn
impl Sync for TxIn
impl Send for TxIn
impl UnwindSafe for TxIn
impl RefUnwindSafe for TxIn
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,