pub struct ProtoMessage<P> {
pub id: MessageId,
pub from: Option<MessageFrom>,
pub to: Option<MessageTo>,
pub payload: Option<P>,
pub trace: bool,
pub log: bool,
}Fields§
§id: MessageId§from: Option<MessageFrom>§to: Option<MessageTo>§payload: Option<P>§trace: bool§log: boolImplementations§
Auto Trait Implementations§
impl<P> Freeze for ProtoMessage<P>where
P: Freeze,
impl<P> RefUnwindSafe for ProtoMessage<P>where
P: RefUnwindSafe,
impl<P> Send for ProtoMessage<P>where
P: Send,
impl<P> Sync for ProtoMessage<P>where
P: Sync,
impl<P> Unpin for ProtoMessage<P>where
P: Unpin,
impl<P> UnwindSafe for ProtoMessage<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