pub struct DataEnvelope {
pub header: PacketHeader,
pub payload: DataPayload,
}Fields§
§header: PacketHeader§payload: DataPayloadTrait Implementations§
Source§impl Clone for DataEnvelope
impl Clone for DataEnvelope
Source§fn clone(&self) -> DataEnvelope
fn clone(&self) -> DataEnvelope
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 Debug for DataEnvelope
impl Debug for DataEnvelope
Source§impl PartialEq for DataEnvelope
impl PartialEq for DataEnvelope
impl Eq for DataEnvelope
impl StructuralPartialEq for DataEnvelope
Auto Trait Implementations§
impl Freeze for DataEnvelope
impl RefUnwindSafe for DataEnvelope
impl Send for DataEnvelope
impl Sync for DataEnvelope
impl Unpin for DataEnvelope
impl UnsafeUnpin for DataEnvelope
impl UnwindSafe for DataEnvelope
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