Struct ark_api::behavior::OutgoingMessage
source · pub struct OutgoingMessage {
pub addr: OutgoingMessageAddr,
pub serialized_message: Vec<u8>,
}Expand description
An outgoing message that can be send from a behavior instance to the controller module
Fields§
§addr: OutgoingMessageAddrThe address of the outgoing message
serialized_message: Vec<u8>The serialized message payload
Trait Implementations§
source§impl Clone for OutgoingMessage
impl Clone for OutgoingMessage
source§fn clone(&self) -> OutgoingMessage
fn clone(&self) -> OutgoingMessage
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 OutgoingMessage
impl Debug for OutgoingMessage
source§impl From<&OutgoingMessage> for OutgoingMessage
impl From<&OutgoingMessage> for OutgoingMessage
source§fn from(msg: &OutgoingMessage) -> Self
fn from(msg: &OutgoingMessage) -> Self
Converts to this type from the input type.
source§impl PartialEq<OutgoingMessage> for OutgoingMessage
impl PartialEq<OutgoingMessage> for OutgoingMessage
source§fn eq(&self, other: &OutgoingMessage) -> bool
fn eq(&self, other: &OutgoingMessage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.