[][src]Struct bitcoin_cash::TxInput

pub struct TxInput {
    pub prev_out: TxOutpoint,
    pub script: Script,
    pub sequence: u32,
    pub lock_script: Option<Script>,
    pub value: Option<u64>,
    pub is_p2sh: Option<bool>,
}

Fields

prev_out: TxOutpointscript: Scriptsequence: u32lock_script: Option<Script>value: Option<u64>is_p2sh: Option<bool>

Implementations

impl TxInput[src]

pub fn serialize(&self) -> Result<ByteArray>[src]

Trait Implementations

impl Clone for TxInput[src]

impl Debug for TxInput[src]

impl<'de> Deserialize<'de> for TxInput[src]

impl PartialEq<TxInput> for TxInput[src]

impl Serialize for TxInput[src]

impl StructuralPartialEq for TxInput[src]

Auto Trait Implementations

impl RefUnwindSafe for TxInput

impl Send for TxInput

impl Sync for TxInput

impl Unpin for TxInput

impl UnwindSafe for TxInput

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.