pub struct ExecutingMessage {
pub id: MessageIdentifier,
pub msg_hash: FixedBytes<32>,
}
Expand description
Solidity event, emitted when a cross chain message is being executed.
Fields§
§id: MessageIdentifier
Unique MessageIdentifier
.
msg_hash: FixedBytes<32>
Keccak256
hash of message payload being executed.
Implementations§
Source§impl ExecutingMessage
impl ExecutingMessage
Sourcepub fn abi_decode(
data: &[u8],
validate: bool,
) -> Result<ExecutingMessage, Error>
pub fn abi_decode( data: &[u8], validate: bool, ) -> Result<ExecutingMessage, Error>
Decodes an ExecutingMessage
from ABI-encoded data.
Trait Implementations§
Source§impl Clone for ExecutingMessage
impl Clone for ExecutingMessage
Source§fn clone(&self) -> ExecutingMessage
fn clone(&self) -> ExecutingMessage
Returns a copy 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 ExecutingMessage
impl Debug for ExecutingMessage
Source§impl Default for ExecutingMessage
impl Default for ExecutingMessage
Source§fn default() -> ExecutingMessage
fn default() -> ExecutingMessage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExecutingMessage
impl<'de> Deserialize<'de> for ExecutingMessage
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExecutingMessage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExecutingMessage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<(FixedBytes<32>, MessageIdentifierAbi)> for ExecutingMessage
impl From<(FixedBytes<32>, MessageIdentifierAbi)> for ExecutingMessage
Source§fn from(_: (FixedBytes<32>, MessageIdentifierAbi)) -> ExecutingMessage
fn from(_: (FixedBytes<32>, MessageIdentifierAbi)) -> ExecutingMessage
Converts to this type from the input type.
Source§impl From<ExecutingMessageAbi> for ExecutingMessage
impl From<ExecutingMessageAbi> for ExecutingMessage
Source§fn from(event: ExecutingMessageAbi) -> ExecutingMessage
fn from(event: ExecutingMessageAbi) -> ExecutingMessage
Converts to this type from the input type.
Source§impl Hash for ExecutingMessage
impl Hash for ExecutingMessage
Source§impl PartialEq for ExecutingMessage
impl PartialEq for ExecutingMessage
Source§impl Serialize for ExecutingMessage
impl Serialize for ExecutingMessage
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for ExecutingMessage
impl Eq 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 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