Struct bitcoin::blockdata::transaction::TxOut [−][src]
A transaction output, which defines new coins to be created from old ones.
Fields
value: u64
The value of the output, in satoshis
script_pubkey: Script
The script which must satisfy for the output to be spent
Trait Implementations
impl Clone for TxOut
[src]
impl Clone for TxOut
fn clone(&self) -> TxOut
[src]
fn clone(&self) -> TxOut
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for TxOut
[src]
impl PartialEq for TxOut
fn eq(&self, other: &TxOut) -> bool
[src]
fn eq(&self, other: &TxOut) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TxOut) -> bool
[src]
fn ne(&self, other: &TxOut) -> bool
This method tests for !=
.
impl Eq for TxOut
[src]
impl Eq for TxOut
impl Debug for TxOut
[src]
impl Debug for TxOut
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Hash for TxOut
[src]
impl Hash for TxOut
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Default for TxOut
[src]
impl Default for TxOut
impl<S: SimpleEncoder> ConsensusEncodable<S> for TxOut
[src]
impl<S: SimpleEncoder> ConsensusEncodable<S> for TxOut
fn consensus_encode(&self, s: &mut S) -> Result<(), Error>
[src]
fn consensus_encode(&self, s: &mut S) -> Result<(), Error>
Encode an object with a well-defined format
impl<D: SimpleDecoder> ConsensusDecodable<D> for TxOut
[src]
impl<D: SimpleDecoder> ConsensusDecodable<D> for TxOut