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 ==.impl Eq for OutgoingMessage
impl StructuralEq for OutgoingMessage
impl StructuralPartialEq for OutgoingMessage
Auto Trait Implementations§
impl RefUnwindSafe for OutgoingMessage
impl Send for OutgoingMessage
impl Sync for OutgoingMessage
impl Unpin for OutgoingMessage
impl UnwindSafe for OutgoingMessage
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