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: OutgoingMessageAddr
The address of the outgoing message
serialized_message: Vec<u8>
The serialized message payload
Trait Implementations
sourceimpl Clone for OutgoingMessage
impl Clone for OutgoingMessage
sourcefn clone(&self) -> OutgoingMessage
fn clone(&self) -> OutgoingMessage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OutgoingMessage
impl Debug for OutgoingMessage
sourceimpl From<&OutgoingMessage> for OutgoingMessage
impl From<&OutgoingMessage> for OutgoingMessage
sourcefn from(msg: &OutgoingMessage) -> Self
fn from(msg: &OutgoingMessage) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<OutgoingMessage> for OutgoingMessage
impl PartialEq<OutgoingMessage> for OutgoingMessage
sourcefn 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 ==
. Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more