pub struct ChatEnvelopeV1 {
pub message_id: [u8; 32],
pub recipient_public_key: [u8; 32],
pub created_at: u64,
pub expires_at: u64,
pub gift_wrap: Vec<u8>,
}Fields§
§message_id: [u8; 32]§recipient_public_key: [u8; 32]§created_at: u64§expires_at: u64§gift_wrap: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for ChatEnvelopeV1
impl Clone for ChatEnvelopeV1
Source§fn clone(&self) -> ChatEnvelopeV1
fn clone(&self) -> ChatEnvelopeV1
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 ChatEnvelopeV1
impl Debug for ChatEnvelopeV1
impl Eq for ChatEnvelopeV1
Source§impl PartialEq for ChatEnvelopeV1
impl PartialEq for ChatEnvelopeV1
impl StructuralPartialEq for ChatEnvelopeV1
Auto Trait Implementations§
impl Freeze for ChatEnvelopeV1
impl RefUnwindSafe for ChatEnvelopeV1
impl Send for ChatEnvelopeV1
impl Sync for ChatEnvelopeV1
impl Unpin for ChatEnvelopeV1
impl UnsafeUnpin for ChatEnvelopeV1
impl UnwindSafe for ChatEnvelopeV1
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