Struct in3_sys::eth_block[][src]

#[repr(C)]pub struct eth_block {
    pub number: u64,
    pub hash: bytes32_t,
    pub gasUsed: u64,
    pub gasLimit: u64,
    pub author: address_t,
    pub difficulty: uint256_t,
    pub extra_data: bytes_t,
    pub logsBloom: [u8; 256],
    pub parent_hash: bytes32_t,
    pub sha3_uncles: bytes32_t,
    pub state_root: bytes32_t,
    pub receipts_root: bytes32_t,
    pub transaction_root: bytes32_t,
    pub tx_count: c_int,
    pub tx_data: *mut eth_tx_t,
    pub tx_hashes: *mut bytes32_t,
    pub timestamp: u64,
    pub seal_fields: *mut bytes_t,
    pub seal_fields_count: c_int,
}

Fields

number: u64hash: bytes32_tgasUsed: u64gasLimit: u64author: address_tdifficulty: uint256_textra_data: bytes_tlogsBloom: [u8; 256]parent_hash: bytes32_tsha3_uncles: bytes32_tstate_root: bytes32_treceipts_root: bytes32_ttransaction_root: bytes32_ttx_count: c_inttx_data: *mut eth_tx_ttx_hashes: *mut bytes32_ttimestamp: u64seal_fields: *mut bytes_tseal_fields_count: c_int

Trait Implementations

impl Clone for eth_block[src]

impl Copy for eth_block[src]

impl Debug for eth_block[src]

Auto Trait Implementations

impl !Send for eth_block

impl !Sync for eth_block

impl Unpin for eth_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> From<T> for T[src]

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

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.