Struct ethane::types::BlockHeader[][src]

pub struct BlockHeader {
    pub number: Option<U64>,
    pub hash: Option<H256>,
    pub parent_hash: H256,
    pub nonce: Option<H64>,
    pub transactions_root: H256,
    pub state_root: H256,
    pub receipts_root: H256,
    pub difficulty: U256,
    pub sha3_uncles: H256,
    pub miner: H160,
    pub logs_bloom: Option<Bloom>,
    pub gas_limit: U256,
    pub gas_used: U256,
    pub extra_data: Bytes,
    pub mix_hash: Option<H256>,
}

BlockHeader returned by subscription

Fields

number: Option<U64>hash: Option<H256>parent_hash: H256nonce: Option<H64>transactions_root: H256state_root: H256receipts_root: H256difficulty: U256sha3_uncles: H256miner: H160logs_bloom: Option<Bloom>gas_limit: U256gas_used: U256extra_data: Bytesmix_hash: Option<H256>

Trait Implementations

impl Clone for BlockHeader[src]

impl Debug for BlockHeader[src]

impl<'de> Deserialize<'de> for BlockHeader[src]

impl PartialEq<BlockHeader> for BlockHeader[src]

impl StructuralPartialEq for BlockHeader[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,