BlocksBuilder

Struct BlocksBuilder 

Source
pub struct BlocksBuilder {
Show 28 fields pub number: UInt64Builder, pub hash: BinaryBuilder, pub parent_hash: BinaryBuilder, pub nonce: BinaryBuilder, pub sha3_uncles: BinaryBuilder, pub logs_bloom: BinaryBuilder, pub transactions_root: BinaryBuilder, pub state_root: BinaryBuilder, pub receipts_root: BinaryBuilder, pub miner: BinaryBuilder, pub difficulty: Decimal256Builder, pub total_difficulty: Decimal256Builder, pub extra_data: BinaryBuilder, pub size: Decimal256Builder, pub gas_limit: Decimal256Builder, pub gas_used: Decimal256Builder, pub timestamp: Decimal256Builder, pub uncles: ListBuilder<BinaryBuilder>, pub base_fee_per_gas: Decimal256Builder, pub blob_gas_used: Decimal256Builder, pub excess_blob_gas: Decimal256Builder, pub parent_beacon_block_root: BinaryBuilder, pub withdrawals_root: BinaryBuilder, pub withdrawals: WithdrawalsBuilder, pub l1_block_number: UInt64Builder, pub send_count: Decimal256Builder, pub send_root: BinaryBuilder, pub mix_hash: BinaryBuilder,
}

Fields§

§number: UInt64Builder§hash: BinaryBuilder§parent_hash: BinaryBuilder§nonce: BinaryBuilder§sha3_uncles: BinaryBuilder§logs_bloom: BinaryBuilder§transactions_root: BinaryBuilder§state_root: BinaryBuilder§receipts_root: BinaryBuilder§miner: BinaryBuilder§difficulty: Decimal256Builder§total_difficulty: Decimal256Builder§extra_data: BinaryBuilder§size: Decimal256Builder§gas_limit: Decimal256Builder§gas_used: Decimal256Builder§timestamp: Decimal256Builder§uncles: ListBuilder<BinaryBuilder>§base_fee_per_gas: Decimal256Builder§blob_gas_used: Decimal256Builder§excess_blob_gas: Decimal256Builder§parent_beacon_block_root: BinaryBuilder§withdrawals_root: BinaryBuilder§withdrawals: WithdrawalsBuilder§l1_block_number: UInt64Builder§send_count: Decimal256Builder§send_root: BinaryBuilder§mix_hash: BinaryBuilder

Implementations§

Trait Implementations§

Source§

impl Default for BlocksBuilder

Source§

fn default() -> BlocksBuilder

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.