Struct web30::types::ConciseBlock[][src]

pub struct ConciseBlock {
Show fields pub author: Option<Address>, pub difficulty: Uint256, pub extra_data: Uint256, pub gas_limit: Uint256, pub gas_used: Uint256, pub base_fee_per_gas: Option<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: Option<Vec<Uint256>>, pub sha3_uncles: Uint256, pub size: Uint256, pub state_root: Uint256, pub timestamp: Uint256, pub total_difficulty: Uint256, pub transactions: Vec<Uint256>, pub transactions_root: Uint256, pub uncles: Vec<Uint256>,
}
Expand description

block with more concise tx hashes instead of full transactions

Fields

author: Option<Address>difficulty: Uint256extra_data: Uint256gas_limit: Uint256gas_used: Uint256base_fee_per_gas: Option<Uint256>

this field will not exist until after the london hardfork

hash: Uint256logs_bloom: Dataminer: Addressmix_hash: Uint256nonce: Uint256number: Uint256parent_hash: Uint256receipts_root: Uint256seal_fields: Option<Vec<Uint256>>sha3_uncles: Uint256size: Uint256state_root: Uint256timestamp: Uint256total_difficulty: Uint256transactions: Vec<Uint256>transactions_root: Uint256uncles: Vec<Uint256>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.