pub struct ExecutingMessage {
pub chain_id: u64,
pub block_number: u64,
pub log_index: u32,
pub timestamp: u64,
pub hash: B256,
}Expand description
A parsed executing message extracted from a log emitted by the
CrossL2Inbox contract on an L2 chain.
Fields§
§chain_id: u64The chain ID where the message was observed.
block_number: u64The block number that contained the log.
log_index: u32The log index within the block.
timestamp: u64The timestamp of the block.
hash: B256A unique hash identifying the log (based on payload and origin).
Trait Implementations§
Source§impl Clone for ExecutingMessage
impl Clone for ExecutingMessage
Source§fn clone(&self) -> ExecutingMessage
fn clone(&self) -> ExecutingMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecutingMessage
impl Debug for ExecutingMessage
impl Eq for ExecutingMessage
Source§impl PartialEq for ExecutingMessage
impl PartialEq for ExecutingMessage
impl StructuralPartialEq for ExecutingMessage
Auto Trait Implementations§
impl Freeze for ExecutingMessage
impl RefUnwindSafe for ExecutingMessage
impl Send for ExecutingMessage
impl Sync for ExecutingMessage
impl Unpin for ExecutingMessage
impl UnsafeUnpin for ExecutingMessage
impl UnwindSafe for ExecutingMessage
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
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> ⓘ
Converts
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> ⓘ
Converts
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 more