[][src]Struct web30::types::Block

pub struct Block {
    pub author: Address,
    pub difficulty: Uint256,
    pub extra_data: Uint256,
    pub gas_limit: Uint256,
    pub gas_used: Uint256,
    pub hash: Uint256,
    pub logs_bloom: Data,
    pub miner: Address,
    pub mix_hash: Uint256,
    pub nonce: Uint256,
    pub number: Uint256,
    pub parent_hash: Uint256,
    pub receipts_root: Uint256,
    pub seal_fields: Vec<Uint256>,
    pub sha3_uncles: Uint256,
    pub size: Uint256,
    pub state_root: Uint256,
    pub timestamp: Uint256,
    pub total_difficulty: Uint256,
    pub transactions: Vec<TransactionResponse>,
    pub transactions_root: Uint256,
    pub uncles: Vec<Uint256>,
}

Ethereum block

Fields

author: Addressdifficulty: Uint256extra_data: Uint256gas_limit: Uint256gas_used: Uint256hash: Uint256logs_bloom: Dataminer: Addressmix_hash: Uint256nonce: Uint256number: Uint256parent_hash: Uint256receipts_root: Uint256seal_fields: Vec<Uint256>sha3_uncles: Uint256size: Uint256state_root: Uint256timestamp: Uint256total_difficulty: Uint256transactions: Vec<TransactionResponse>transactions_root: Uint256uncles: Vec<Uint256>

Trait Implementations

impl Clone for Block[src]

impl Debug for Block[src]

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

impl Eq for Block[src]

impl PartialEq<Block> for Block[src]

impl Serialize for Block[src]

impl StructuralEq for Block[src]

impl StructuralPartialEq for Block[src]

Auto Trait Implementations

impl RefUnwindSafe for Block

impl Send for Block

impl Sync for Block

impl Unpin for Block

impl UnwindSafe for Block

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument 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>,