Struct block::PartialHeader [] [src]

pub struct PartialHeader {
    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,
}

Fields

Methods

impl PartialHeader
[src]

Trait Implementations

impl Clone for PartialHeader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PartialHeader
[src]

Formats the value using the given formatter.

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

impl HeaderHash<H256> for PartialHeader
[src]

impl Encodable for PartialHeader
[src]

Append a value to the stream

Get rlp-encoded bytes for this instance

impl Decodable for PartialHeader
[src]

Decode a value from RLP bytes