pub struct MessageWithMetadata {
pub l1_incoming_message: L1IncomingMessage,
pub delayed_messages_read: u64,
}Fields§
§l1_incoming_message: L1IncomingMessage§delayed_messages_read: u64Trait Implementations§
Source§impl Clone for MessageWithMetadata
impl Clone for MessageWithMetadata
Source§fn clone(&self) -> MessageWithMetadata
fn clone(&self) -> MessageWithMetadata
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 MessageWithMetadata
impl Debug for MessageWithMetadata
Source§impl Default for MessageWithMetadata
impl Default for MessageWithMetadata
Source§fn default() -> MessageWithMetadata
fn default() -> MessageWithMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageWithMetadata
impl<'de> Deserialize<'de> for MessageWithMetadata
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
Source§impl PartialEq for MessageWithMetadata
impl PartialEq for MessageWithMetadata
Source§fn eq(&self, other: &MessageWithMetadata) -> bool
fn eq(&self, other: &MessageWithMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MessageWithMetadata
impl Serialize for MessageWithMetadata
impl StructuralPartialEq for MessageWithMetadata
Auto Trait Implementations§
impl Freeze for MessageWithMetadata
impl RefUnwindSafe for MessageWithMetadata
impl Send for MessageWithMetadata
impl Sync for MessageWithMetadata
impl Unpin for MessageWithMetadata
impl UnsafeUnpin for MessageWithMetadata
impl UnwindSafe for MessageWithMetadata
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