pub struct FullSession {
pub dc_id: u8,
pub ip: IpAddr,
pub port: u16,
pub auth_key: [u8; 256],
pub user_id: i64,
pub server_salt: i64,
pub seq_no: u32,
pub layer: u32,
}Fields§
§dc_id: u8§ip: IpAddr§port: u16§auth_key: [u8; 256]§user_id: i64§server_salt: i64§seq_no: u32§layer: u32Trait Implementations§
Source§impl Clone for FullSession
impl Clone for FullSession
Source§fn clone(&self) -> FullSession
fn clone(&self) -> FullSession
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 FullSession
impl Debug for FullSession
Source§impl From<FullSession> for StringSession
impl From<FullSession> for StringSession
Source§fn from(s: FullSession) -> Self
fn from(s: FullSession) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FullSession
impl RefUnwindSafe for FullSession
impl Send for FullSession
impl Sync for FullSession
impl Unpin for FullSession
impl UnsafeUnpin for FullSession
impl UnwindSafe for FullSession
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