[][src]Enum zebra_chain::transaction::TransparentInput

pub enum TransparentInput {
    PrevOut {
        outpoint: OutPoint,
        script: Script,
        sequence: u32,
    Coinbase {
        height: BlockHeight,
        data: CoinbaseData,
        sequence: u32,

A transparent input to a transaction.



A reference to an output of a previous transaction.

Fields of PrevOut

outpoint: OutPoint

The previous output transaction reference.

script: Script

The script that authorizes spending outpoint.

sequence: u32

The sequence number for the output.


New coins created by the block reward.

Fields of Coinbase

height: BlockHeight

The height of this block.

data: CoinbaseData

Free data inserted by miners after the block height.

sequence: u32

The sequence number for the output.

Trait Implementations

impl Clone for TransparentInput[src]

impl Debug for TransparentInput[src]

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

impl Eq for TransparentInput[src]

impl PartialEq<TransparentInput> for TransparentInput[src]

impl Serialize for TransparentInput[src]

impl StructuralEq for TransparentInput[src]

impl StructuralPartialEq for TransparentInput[src]

impl ZcashDeserialize for TransparentInput[src]

impl ZcashSerialize for TransparentInput[src]

Auto Trait Implementations

impl RefUnwindSafe for TransparentInput

impl Send for TransparentInput

impl Sync for TransparentInput

impl Unpin for TransparentInput

impl UnwindSafe for TransparentInput

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,