[][src]Struct ethereum_json_rpc::GetBlockByNumberResult

pub struct GetBlockByNumberResult {
    pub difficulty: Option<String>,
    pub extra_data: Option<String>,
    pub gas_limit: Option<String>,
    pub gas_used: Option<String>,
    pub hash: Option<String>,
    pub logs_bloom: Option<String>,
    pub miner: Option<String>,
    pub nonce: Option<String>,
    pub number: Option<String>,
    pub parent_hash: Option<String>,
    pub receipts_root: Option<String>,
    pub sha3_uncles: Option<String>,
    pub size: Option<String>,
    pub state_root: Option<String>,
    pub timestamp: Option<String>,
    pub total_difficulty: Option<String>,
    pub transactions: Option<Vec<OneOfHrzWczTc>>,
    pub transactions_root: Option<String>,
    pub uncles: Option<Vec<String>>,
}

Fields

difficulty: Option<String>

Integer of the difficulty for this block

extra_data: Option<String>

The 'extra data' field of this block

gas_limit: Option<String>

The maximum gas allowed in this block

gas_used: Option<String>

The total used gas by all transactions in this block

hash: Option<String>

The block hash or null when its the pending block

logs_bloom: Option<String>

The bloom filter for the logs of the block or null when its the pending block

miner: Option<String>

The address of the beneficiary to whom the mining rewards were given or null when its the pending block

nonce: Option<String>

Randomly selected number to satisfy the proof-of-work or null when its the pending block

number: Option<String>

The block number or null when its the pending block

parent_hash: Option<String>

Hash of the parent block

receipts_root: Option<String>

The root of the receipts trie of the block

sha3_uncles: Option<String>

Keccak hash of the uncles data in the block

size: Option<String>

Integer the size of this block in bytes

state_root: Option<String>

The root of the final state trie of the block

timestamp: Option<String>

The unix timestamp for when the block was collated

total_difficulty: Option<String>

Integer of the total difficulty of the chain until this block

transactions: Option<Vec<OneOfHrzWczTc>>

Array of transaction objects, or 32 Bytes transaction hashes depending on the last given parameter

transactions_root: Option<String>

The root of the transactions trie of the block.

uncles: Option<Vec<String>>

Array of uncle hashes

Trait Implementations

impl Clone for GetBlockByNumberResult[src]

impl PartialEq<GetBlockByNumberResult> for GetBlockByNumberResult[src]

impl Debug for GetBlockByNumberResult[src]

impl Serialize for GetBlockByNumberResult[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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