pub struct Head {
pub number: Hex<8>,
pub hash: Int,
pub gas_limit: Int,
pub coinbase: Acc,
pub timestamp: Int,
pub base_fee: Int,
pub excess_blob_gas: Option<Int>,
pub blobhash: Option<Int>,
pub prevrandao: Int,
pub parent_hash: Int,
pub parent_beacon_block_root: Option<Int>,
}Fields§
§number: Hex<8>§hash: Int§gas_limit: Int§coinbase: Acc§timestamp: Int§base_fee: Int§excess_blob_gas: Option<Int>§blobhash: Option<Int>§prevrandao: Int§parent_hash: Int§parent_beacon_block_root: Option<Int>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Head
impl<'de> Deserialize<'de> for Head
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Head
impl RefUnwindSafe for Head
impl Send for Head
impl Sync for Head
impl Unpin for Head
impl UnsafeUnpin for Head
impl UnwindSafe for Head
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