pub struct MessageEnvelope {
pub destination_hash: [u8; 16],
pub message_id: [u8; 32],
}Fields§
§destination_hash: [u8; 16]§message_id: [u8; 32]Trait Implementations§
Source§impl Clone for MessageEnvelope
impl Clone for MessageEnvelope
Source§fn clone(&self) -> MessageEnvelope
fn clone(&self) -> MessageEnvelope
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 Debug for MessageEnvelope
impl Debug for MessageEnvelope
impl Eq for MessageEnvelope
Source§impl PartialEq for MessageEnvelope
impl PartialEq for MessageEnvelope
Source§fn eq(&self, other: &MessageEnvelope) -> bool
fn eq(&self, other: &MessageEnvelope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MessageEnvelope
Auto Trait Implementations§
impl Freeze for MessageEnvelope
impl RefUnwindSafe for MessageEnvelope
impl Send for MessageEnvelope
impl Sync for MessageEnvelope
impl Unpin for MessageEnvelope
impl UnsafeUnpin for MessageEnvelope
impl UnwindSafe for MessageEnvelope
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