pub struct HeaderRoots {
pub state_root: B256,
pub transactions_root: B256,
pub receipts_root: B256,
pub withdrawals_root: Option<B256>,
pub parent_beacon_block_root: Option<B256>,
pub logs_bloom: Bloom,
}Expand description
Roots contained in a block header.
Fields§
§state_root: B256The Keccak 256-bit hash of the root node of the state trie, after all transactions are executed and finalisations applied.
transactions_root: B256The Keccak 256-bit hash of the root node of the trie structure populated with each transaction in the transactions list portion of the block.
receipts_root: B256The Keccak 256-bit hash of the root node of the trie structure populated with the receipts of each transaction in the transactions list portion of the block; formally He.
withdrawals_root: Option<B256>The Keccak 256-bit hash of the withdrawals list portion of this block.
parent_beacon_block_root: Option<B256>The hash of the parent beacon block’s root is included in execution blocks, as proposed by EIP-4788.
logs_bloom: BloomThe Bloom filter composed from indexable information (logger address and log topics) contained in each log entry from the receipt of each transaction in the transactions list.
Trait Implementations§
Source§impl Clone for HeaderRoots
impl Clone for HeaderRoots
Source§fn clone(&self) -> HeaderRoots
fn clone(&self) -> HeaderRoots
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for HeaderRoots
impl Debug for HeaderRoots
Source§impl Default for HeaderRoots
impl Default for HeaderRoots
Source§fn default() -> HeaderRoots
fn default() -> HeaderRoots
Source§impl PartialEq for HeaderRoots
impl PartialEq for HeaderRoots
impl Copy for HeaderRoots
impl Eq for HeaderRoots
impl StructuralPartialEq for HeaderRoots
Auto Trait Implementations§
impl Freeze for HeaderRoots
impl RefUnwindSafe for HeaderRoots
impl Send for HeaderRoots
impl Sync for HeaderRoots
impl Unpin for HeaderRoots
impl UnwindSafe for HeaderRoots
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
Source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 418 bytes