pub struct OutgoingPacketContents<'tl> {
pub rand1: &'tl [u8],
pub from: Option<PublicKey<'tl>>,
pub messages: OutgoingMessages<'tl>,
pub address: AddressList,
pub seqno: u64,
pub confirm_seqno: u64,
pub reinit_dates: Option<ReinitDates>,
pub signature: Option<&'tl [u8]>,
pub rand2: &'tl [u8],
}Fields§
§rand1: &'tl [u8]7 or 3 random bytes
from: Option<PublicKey<'tl>>§messages: OutgoingMessages<'tl>§address: AddressList§seqno: u64§confirm_seqno: u64§reinit_dates: Option<ReinitDates>§signature: Option<&'tl [u8]>§rand2: &'tl [u8]3 or 7 random bytes
Trait Implementations§
Source§impl<'tl> Clone for OutgoingPacketContents<'tl>
impl<'tl> Clone for OutgoingPacketContents<'tl>
Source§fn clone(&self) -> OutgoingPacketContents<'tl>
fn clone(&self) -> OutgoingPacketContents<'tl>
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 moreAuto Trait Implementations§
impl<'tl> Freeze for OutgoingPacketContents<'tl>
impl<'tl> RefUnwindSafe for OutgoingPacketContents<'tl>
impl<'tl> Send for OutgoingPacketContents<'tl>
impl<'tl> Sync for OutgoingPacketContents<'tl>
impl<'tl> Unpin for OutgoingPacketContents<'tl>
impl<'tl> UnwindSafe for OutgoingPacketContents<'tl>
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