Struct bitcoin::blockdata::transaction::TxOut[][src]

pub struct TxOut {
    pub value: u64,
    pub script_pubkey: Script,
}

A transaction output, which defines new coins to be created from old ones.

Fields

The value of the output, in satoshis

The script which must satisfy for the output to be spent

Trait Implementations

impl Clone for TxOut
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for TxOut
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for TxOut
[src]

impl Debug for TxOut
[src]

Formats the value using the given formatter. Read more

impl Hash for TxOut
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Default for TxOut
[src]

Returns the "default value" for a type. Read more

impl<S: SimpleEncoder> ConsensusEncodable<S> for TxOut
[src]

Encode an object with a well-defined format

impl<D: SimpleDecoder> ConsensusDecodable<D> for TxOut
[src]

Decode an object with a well-defined format

Auto Trait Implementations

impl Send for TxOut

impl Sync for TxOut