#[repr(C)]pub struct eth_block {Show 19 fields
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: u64§hash: bytes32_t§gasUsed: u64§gasLimit: u64§difficulty: uint256_t§extra_data: bytes_t§logsBloom: [u8; 256]§parent_hash: bytes32_t§sha3_uncles: bytes32_t§state_root: bytes32_t§receipts_root: bytes32_t§transaction_root: bytes32_t§tx_count: c_int§tx_data: *mut eth_tx_t§tx_hashes: *mut bytes32_t§timestamp: u64§seal_fields: *mut bytes_t§seal_fields_count: c_intTrait Implementations§
Auto Trait Implementations§
impl Freeze for eth_block
impl RefUnwindSafe for eth_block
impl !Send for eth_block
impl !Sync for eth_block
impl Unpin for eth_block
impl UnwindSafe for eth_block
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more