Struct elements::Block[][src]

pub struct Block {
    pub header: BlockHeader,
    pub txdata: Vec<Transaction>,
}

Elements block

Fields

Header of the block

Complete list of transaction in the block

Trait Implementations

impl Clone for Block
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Block
[src]

Formats the value using the given formatter. Read more

impl Default for Block
[src]

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

impl Eq for Block
[src]

impl Hash for Block
[src]

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

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

impl PartialEq for Block
[src]

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

This method tests for !=.

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

Encode an object with a well-defined format

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

Decode an object with a well-defined format

impl BitcoinHash for Block
[src]

Produces a Sha256dHash which can be used to refer to the object

Auto Trait Implementations

impl Send for Block

impl Sync for Block