Struct block::Header [] [src]

pub struct Header {
    pub parent_hash: H256,
    pub ommers_hash: H256,
    pub beneficiary: Address,
    pub state_root: H256,
    pub transactions_root: H256,
    pub receipts_root: H256,
    pub logs_bloom: LogsBloom,
    pub difficulty: U256,
    pub number: U256,
    pub gas_limit: Gas,
    pub gas_used: Gas,
    pub timestamp: u64,
    pub extra_data: B256,
    pub mix_hash: H256,
    pub nonce: H64,
}

Fields

Methods

impl Header
[src]

[src]

[src]

Trait Implementations

impl Clone for Header
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Header
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Header
[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 Header
[src]

impl HeaderHash<H256> for Header
[src]

[src]

[src]

impl Encodable for Header
[src]

[src]

Append a value to the stream

[src]

Get rlp-encoded bytes for this instance

impl Decodable for Header
[src]

[src]

Decode a value from RLP bytes

impl RlpHash for Header
[src]

[src]