pub struct L1IncomingMessage {
pub header: L1IncomingMessageHeader,
pub l2_msg: Bytes,
pub legacy_batch_gas_cost: Option<u64>,
pub batch_data_stats: Option<BatchDataStats>,
}Expand description
An L1 incoming message containing the header and L2 payload.
Fields§
§header: L1IncomingMessageHeader§l2_msg: Bytes§legacy_batch_gas_cost: Option<u64>Only used for L1_MESSAGE_TYPE_BATCH_POSTING_REPORT. Filled lazily once
the referenced batch has been serialized. Mirrors the Go
L1IncomingMessage.LegacyBatchGasCost / BatchDataStats fields.
batch_data_stats: Option<BatchDataStats>Implementations§
Trait Implementations§
Source§impl Clone for L1IncomingMessage
impl Clone for L1IncomingMessage
Source§fn clone(&self) -> L1IncomingMessage
fn clone(&self) -> L1IncomingMessage
Returns a duplicate of the value. Read more
1.0.0 · 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 L1IncomingMessage
impl Debug for L1IncomingMessage
Source§impl Decodable for L1IncomingMessage
impl Decodable for L1IncomingMessage
Source§impl Default for L1IncomingMessage
impl Default for L1IncomingMessage
Source§fn default() -> L1IncomingMessage
fn default() -> L1IncomingMessage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for L1IncomingMessage
impl RefUnwindSafe for L1IncomingMessage
impl Send for L1IncomingMessage
impl Sync for L1IncomingMessage
impl Unpin for L1IncomingMessage
impl UnwindSafe for L1IncomingMessage
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