Struct everscale_network::proto::adnl::OutgoingPacketContents
source · 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: AddressListseqno: u64confirm_seqno: u64reinit_dates: Option<ReinitDates>signature: Option<&'tl [u8]>rand2: &'tl [u8]3 or 7 random bytes
Trait Implementations
sourceimpl<'tl> Clone for OutgoingPacketContents<'tl>
impl<'tl> Clone for OutgoingPacketContents<'tl>
sourcefn clone(&self) -> OutgoingPacketContents<'tl>
fn clone(&self) -> OutgoingPacketContents<'tl>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more