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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for TxOut
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for TxOut
[src]

impl Debug for TxOut
[src]

[src]

Formats the value using the given formatter.

impl Hash for TxOut
[src]

[src]

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

1.3.0
[src]

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

impl Deserialize for TxOut

Deserialize this value given this Deserializer.

impl Serialize for TxOut

Serializes this value into this serializer.

impl Default for TxOut
[src]

[src]

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

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

[src]

Encode an object with a well-defined format

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

[src]

Decode an object with a well-defined format