pub struct ForwardAction {
pub destination: String,
pub message_bytes: Vec<u8>,
pub reason: ForwardReason,
}Expand description
Prepared outbound action.
Fields§
§destination: StringRecipient peer address.
message_bytes: Vec<u8>Wire bytes.
reason: ForwardReasonReason for forwarding.
Trait Implementations§
Source§impl Clone for ForwardAction
impl Clone for ForwardAction
Source§fn clone(&self) -> ForwardAction
fn clone(&self) -> ForwardAction
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 ForwardAction
impl RefUnwindSafe for ForwardAction
impl Send for ForwardAction
impl Sync for ForwardAction
impl Unpin for ForwardAction
impl UnsafeUnpin for ForwardAction
impl UnwindSafe for ForwardAction
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