pub struct Finished {
pub auth_key: [u8; 256],
pub time_offset: i32,
pub first_salt: i64,
}Expand description
The final output of a successful auth key handshake.
Fields§
§auth_key: [u8; 256]The 256-byte Telegram authorization key.
time_offset: i32Clock skew in seconds relative to the server.
first_salt: i64Initial server salt.
Trait Implementations§
impl StructuralPartialEq for Finished
Auto Trait Implementations§
impl Freeze for Finished
impl RefUnwindSafe for Finished
impl Send for Finished
impl Sync for Finished
impl Unpin for Finished
impl UnsafeUnpin for Finished
impl UnwindSafe for Finished
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more