pub struct MessageReply<P> {
pub id: MessageId,
pub from: MessageFrom,
pub reply_to: MessageId,
pub payload: P,
pub trace: bool,
pub log: bool,
}
Fields§
§id: MessageId
§from: MessageFrom
§reply_to: MessageId
§payload: P
§trace: bool
§log: bool
Trait Implementations§
Source§impl<P: Clone> Clone for MessageReply<P>
impl<P: Clone> Clone for MessageReply<P>
Source§fn clone(&self) -> MessageReply<P>
fn clone(&self) -> MessageReply<P>
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 moreSource§impl<'de, P> Deserialize<'de> for MessageReply<P>where
P: Deserialize<'de>,
impl<'de, P> Deserialize<'de> for MessageReply<P>where
P: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<P> Freeze for MessageReply<P>where
P: Freeze,
impl<P> RefUnwindSafe for MessageReply<P>where
P: RefUnwindSafe,
impl<P> Send for MessageReply<P>where
P: Send,
impl<P> Sync for MessageReply<P>where
P: Sync,
impl<P> Unpin for MessageReply<P>where
P: Unpin,
impl<P> UnwindSafe for MessageReply<P>where
P: UnwindSafe,
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