pub struct EnrichedExecutingMessage {
pub inner: ExecutingMessage,
pub executing_chain_id: u64,
}Expand description
A wrapper type for ExecutingMessage containing the chain ID of the chain that the message was executed on.
Fields§
§inner: ExecutingMessageThe inner ExecutingMessage.
executing_chain_id: u64The chain ID of the chain that the message was executed on.
Implementations§
Source§impl EnrichedExecutingMessage
impl EnrichedExecutingMessage
Sourcepub const fn new(inner: ExecutingMessage, executing_chain_id: u64) -> Self
pub const fn new(inner: ExecutingMessage, executing_chain_id: u64) -> Self
Create a new EnrichedExecutingMessage from an ExecutingMessage and a chain ID.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnrichedExecutingMessage
impl RefUnwindSafe for EnrichedExecutingMessage
impl Send for EnrichedExecutingMessage
impl Sync for EnrichedExecutingMessage
impl Unpin for EnrichedExecutingMessage
impl UnwindSafe for EnrichedExecutingMessage
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