pub struct ClientMessagePlan {
pub destination: String,
pub body: Vec<u8>,
pub signing_key: Option<Vec<u8>>,
pub reason: ForwardReason,
}Expand description
Client-side message creation plan emitted by router control logic.
Fields§
§destination: StringRecipient peer address.
body: Vec<u8>Message body to send in a fresh client-originated CMR message.
signing_key: Option<Vec<u8>>Optional key for signing the created message.
reason: ForwardReasonReason for message creation.
Trait Implementations§
Source§impl Clone for ClientMessagePlan
impl Clone for ClientMessagePlan
Source§fn clone(&self) -> ClientMessagePlan
fn clone(&self) -> ClientMessagePlan
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ClientMessagePlan
impl RefUnwindSafe for ClientMessagePlan
impl Send for ClientMessagePlan
impl Sync for ClientMessagePlan
impl Unpin for ClientMessagePlan
impl UnsafeUnpin for ClientMessagePlan
impl UnwindSafe for ClientMessagePlan
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