#[repr(C)]pub struct ArchivedBlockHeaderwhere
Skip: ArchiveWith<OnceCell<BlockHash>>,
H256Wrapper: ArchiveWith<H256>,
H160Wrapper: ArchiveWith<Address>,
BloomWrapper: ArchiveWith<Bloom>,
U256Wrapper: ArchiveWith<U256>,
BlockNumber: Archive,
u64: Archive,
BytesWrapper: ArchiveWith<Bytes>,
Option<u64>: Archive,
OptionH256Wrapper: ArchiveWith<Option<H256>>,{Show 24 fields
pub hash: <Skip as ArchiveWith<OnceCell<BlockHash>>>::Archived,
pub parent_hash: <H256Wrapper as ArchiveWith<H256>>::Archived,
pub ommers_hash: <H256Wrapper as ArchiveWith<H256>>::Archived,
pub coinbase: <H160Wrapper as ArchiveWith<Address>>::Archived,
pub state_root: <H256Wrapper as ArchiveWith<H256>>::Archived,
pub transactions_root: <H256Wrapper as ArchiveWith<H256>>::Archived,
pub receipts_root: <H256Wrapper as ArchiveWith<H256>>::Archived,
pub logs_bloom: <BloomWrapper as ArchiveWith<Bloom>>::Archived,
pub difficulty: <U256Wrapper as ArchiveWith<U256>>::Archived,
pub number: <BlockNumber as Archive>::Archived,
pub gas_limit: <u64 as Archive>::Archived,
pub gas_used: <u64 as Archive>::Archived,
pub timestamp: <u64 as Archive>::Archived,
pub extra_data: <BytesWrapper as ArchiveWith<Bytes>>::Archived,
pub prev_randao: <H256Wrapper as ArchiveWith<H256>>::Archived,
pub nonce: <u64 as Archive>::Archived,
pub base_fee_per_gas: <Option<u64> as Archive>::Archived,
pub withdrawals_root: <OptionH256Wrapper as ArchiveWith<Option<H256>>>::Archived,
pub blob_gas_used: <Option<u64> as Archive>::Archived,
pub excess_blob_gas: <Option<u64> as Archive>::Archived,
pub parent_beacon_block_root: <OptionH256Wrapper as ArchiveWith<Option<H256>>>::Archived,
pub requests_hash: <OptionH256Wrapper as ArchiveWith<Option<H256>>>::Archived,
pub block_access_list_hash: <OptionH256Wrapper as ArchiveWith<Option<H256>>>::Archived,
pub slot_number: <Option<u64> as Archive>::Archived,
}Expand description
An archived BlockHeader
Fields§
§hash: <Skip as ArchiveWith<OnceCell<BlockHash>>>::ArchivedThe archived counterpart of BlockHeader::hash
parent_hash: <H256Wrapper as ArchiveWith<H256>>::ArchivedThe archived counterpart of BlockHeader::parent_hash
ommers_hash: <H256Wrapper as ArchiveWith<H256>>::ArchivedThe archived counterpart of BlockHeader::ommers_hash
coinbase: <H160Wrapper as ArchiveWith<Address>>::ArchivedThe archived counterpart of BlockHeader::coinbase
state_root: <H256Wrapper as ArchiveWith<H256>>::ArchivedThe archived counterpart of BlockHeader::state_root
transactions_root: <H256Wrapper as ArchiveWith<H256>>::ArchivedThe archived counterpart of BlockHeader::transactions_root
receipts_root: <H256Wrapper as ArchiveWith<H256>>::ArchivedThe archived counterpart of BlockHeader::receipts_root
logs_bloom: <BloomWrapper as ArchiveWith<Bloom>>::ArchivedThe archived counterpart of BlockHeader::logs_bloom
difficulty: <U256Wrapper as ArchiveWith<U256>>::ArchivedThe archived counterpart of BlockHeader::difficulty
number: <BlockNumber as Archive>::ArchivedThe archived counterpart of BlockHeader::number
gas_limit: <u64 as Archive>::ArchivedThe archived counterpart of BlockHeader::gas_limit
gas_used: <u64 as Archive>::ArchivedThe archived counterpart of BlockHeader::gas_used
timestamp: <u64 as Archive>::ArchivedThe archived counterpart of BlockHeader::timestamp
extra_data: <BytesWrapper as ArchiveWith<Bytes>>::ArchivedThe archived counterpart of BlockHeader::extra_data
prev_randao: <H256Wrapper as ArchiveWith<H256>>::ArchivedThe archived counterpart of BlockHeader::prev_randao
nonce: <u64 as Archive>::ArchivedThe archived counterpart of BlockHeader::nonce
base_fee_per_gas: <Option<u64> as Archive>::ArchivedThe archived counterpart of BlockHeader::base_fee_per_gas
withdrawals_root: <OptionH256Wrapper as ArchiveWith<Option<H256>>>::ArchivedThe archived counterpart of BlockHeader::withdrawals_root
blob_gas_used: <Option<u64> as Archive>::ArchivedThe archived counterpart of BlockHeader::blob_gas_used
excess_blob_gas: <Option<u64> as Archive>::ArchivedThe archived counterpart of BlockHeader::excess_blob_gas
parent_beacon_block_root: <OptionH256Wrapper as ArchiveWith<Option<H256>>>::ArchivedThe archived counterpart of BlockHeader::parent_beacon_block_root
requests_hash: <OptionH256Wrapper as ArchiveWith<Option<H256>>>::ArchivedThe archived counterpart of BlockHeader::requests_hash
block_access_list_hash: <OptionH256Wrapper as ArchiveWith<Option<H256>>>::ArchivedThe archived counterpart of BlockHeader::block_access_list_hash
slot_number: <Option<u64> as Archive>::ArchivedThe archived counterpart of BlockHeader::slot_number
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedBlockHeaderwhere
Skip: ArchiveWith<OnceCell<BlockHash>>,
H256Wrapper: ArchiveWith<H256>,
H160Wrapper: ArchiveWith<Address>,
BloomWrapper: ArchiveWith<Bloom>,
U256Wrapper: ArchiveWith<U256>,
BlockNumber: Archive,
u64: Archive,
BytesWrapper: ArchiveWith<Bytes>,
Option<u64>: Archive,
OptionH256Wrapper: ArchiveWith<Option<H256>>,
<__C as Fallible>::Error: Trace,
<Skip as ArchiveWith<OnceCell<BlockHash>>>::Archived: CheckBytes<__C>,
<H256Wrapper as ArchiveWith<H256>>::Archived: CheckBytes<__C>,
<H160Wrapper as ArchiveWith<Address>>::Archived: CheckBytes<__C>,
<BloomWrapper as ArchiveWith<Bloom>>::Archived: CheckBytes<__C>,
<U256Wrapper as ArchiveWith<U256>>::Archived: CheckBytes<__C>,
<BlockNumber as Archive>::Archived: CheckBytes<__C>,
<u64 as Archive>::Archived: CheckBytes<__C>,
<BytesWrapper as ArchiveWith<Bytes>>::Archived: CheckBytes<__C>,
<Option<u64> as Archive>::Archived: CheckBytes<__C>,
<OptionH256Wrapper as ArchiveWith<Option<H256>>>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedBlockHeaderwhere
Skip: ArchiveWith<OnceCell<BlockHash>>,
H256Wrapper: ArchiveWith<H256>,
H160Wrapper: ArchiveWith<Address>,
BloomWrapper: ArchiveWith<Bloom>,
U256Wrapper: ArchiveWith<U256>,
BlockNumber: Archive,
u64: Archive,
BytesWrapper: ArchiveWith<Bytes>,
Option<u64>: Archive,
OptionH256Wrapper: ArchiveWith<Option<H256>>,
<__C as Fallible>::Error: Trace,
<Skip as ArchiveWith<OnceCell<BlockHash>>>::Archived: CheckBytes<__C>,
<H256Wrapper as ArchiveWith<H256>>::Archived: CheckBytes<__C>,
<H160Wrapper as ArchiveWith<Address>>::Archived: CheckBytes<__C>,
<BloomWrapper as ArchiveWith<Bloom>>::Archived: CheckBytes<__C>,
<U256Wrapper as ArchiveWith<U256>>::Archived: CheckBytes<__C>,
<BlockNumber as Archive>::Archived: CheckBytes<__C>,
<u64 as Archive>::Archived: CheckBytes<__C>,
<BytesWrapper as ArchiveWith<Bytes>>::Archived: CheckBytes<__C>,
<Option<u64> as Archive>::Archived: CheckBytes<__C>,
<OptionH256Wrapper as ArchiveWith<Option<H256>>>::Archived: CheckBytes<__C>,
impl Portable for ArchivedBlockHeaderwhere
Skip: ArchiveWith<OnceCell<BlockHash>>,
H256Wrapper: ArchiveWith<H256>,
H160Wrapper: ArchiveWith<Address>,
BloomWrapper: ArchiveWith<Bloom>,
U256Wrapper: ArchiveWith<U256>,
BlockNumber: Archive,
u64: Archive,
BytesWrapper: ArchiveWith<Bytes>,
Option<u64>: Archive,
OptionH256Wrapper: ArchiveWith<Option<H256>>,
<Skip as ArchiveWith<OnceCell<BlockHash>>>::Archived: Portable,
<H256Wrapper as ArchiveWith<H256>>::Archived: Portable,
<H160Wrapper as ArchiveWith<Address>>::Archived: Portable,
<BloomWrapper as ArchiveWith<Bloom>>::Archived: Portable,
<U256Wrapper as ArchiveWith<U256>>::Archived: Portable,
<BlockNumber as Archive>::Archived: Portable,
<u64 as Archive>::Archived: Portable,
<BytesWrapper as ArchiveWith<Bytes>>::Archived: Portable,
<Option<u64> as Archive>::Archived: Portable,
<OptionH256Wrapper as ArchiveWith<Option<H256>>>::Archived: Portable,
Auto Trait Implementations§
impl !Unpin for ArchivedBlockHeader
impl !UnsafeUnpin for ArchivedBlockHeader
impl Freeze for ArchivedBlockHeader
impl RefUnwindSafe for ArchivedBlockHeader
impl Send for ArchivedBlockHeader
impl Sync for ArchivedBlockHeader
impl UnwindSafe for ArchivedBlockHeader
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.