pub struct DecodedMessage<T> {
pub envelope: Envelope,
pub message: T,
}Expand description
An owned, fully validated decoded message and its common metadata.
Fields§
§envelope: EnvelopeValidated common metadata.
message: TProtocol-owned safe message value.
Trait Implementations§
Source§impl<T: Clone> Clone for DecodedMessage<T>
impl<T: Clone> Clone for DecodedMessage<T>
Source§fn clone(&self) -> DecodedMessage<T>
fn clone(&self) -> DecodedMessage<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for DecodedMessage<T>
impl<T: Debug> Debug for DecodedMessage<T>
impl<T: Eq> Eq for DecodedMessage<T>
Source§impl<T: PartialEq> PartialEq for DecodedMessage<T>
impl<T: PartialEq> PartialEq for DecodedMessage<T>
impl<T: PartialEq> StructuralPartialEq for DecodedMessage<T>
Auto Trait Implementations§
impl<T> Freeze for DecodedMessage<T>where
T: Freeze,
impl<T> RefUnwindSafe for DecodedMessage<T>where
T: RefUnwindSafe,
impl<T> Send for DecodedMessage<T>where
T: Send,
impl<T> Sync for DecodedMessage<T>where
T: Sync,
impl<T> Unpin for DecodedMessage<T>where
T: Unpin,
impl<T> UnsafeUnpin for DecodedMessage<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for DecodedMessage<T>where
T: 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