Struct ark_api::behavior::IncomingMessage
source · pub struct IncomingMessage<'a> {
pub addr: IncomingMessageAddr,
pub serialized_message: &'a [u8],
}Expand description
An incoming message from a controller module
Fields§
§addr: IncomingMessageAddrTarget address for this message.
serialized_message: &'a [u8]Serialized message payload
Trait Implementations§
source§impl<'a> Debug for IncomingMessage<'a>
impl<'a> Debug for IncomingMessage<'a>
source§impl<'a> From<IncomingMessage> for IncomingMessage<'a>
impl<'a> From<IncomingMessage> for IncomingMessage<'a>
source§fn from(msg: IncomingMessage) -> Self
fn from(msg: IncomingMessage) -> Self
Converts to this type from the input type.
source§impl<'a> PartialEq<IncomingMessage<'a>> for IncomingMessage<'a>
impl<'a> PartialEq<IncomingMessage<'a>> for IncomingMessage<'a>
source§fn eq(&self, other: &IncomingMessage<'a>) -> bool
fn eq(&self, other: &IncomingMessage<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.