pub struct AuthorizationStateWaitCode {
pub code_info: AuthenticationCodeInfo,
}
Expand description
TDLib needs the user’s authentication code to authorize. Call checkAuthenticationCode to check the code
Fields§
§code_info: AuthenticationCodeInfo
Information about the authorization code that was sent
Trait Implementations§
Source§impl Clone for AuthorizationStateWaitCode
impl Clone for AuthorizationStateWaitCode
Source§fn clone(&self) -> AuthorizationStateWaitCode
fn clone(&self) -> AuthorizationStateWaitCode
Returns a copy 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 moreSource§impl Debug for AuthorizationStateWaitCode
impl Debug for AuthorizationStateWaitCode
Source§impl<'de> Deserialize<'de> for AuthorizationStateWaitCode
impl<'de> Deserialize<'de> for AuthorizationStateWaitCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for AuthorizationStateWaitCode
Auto Trait Implementations§
impl Freeze for AuthorizationStateWaitCode
impl RefUnwindSafe for AuthorizationStateWaitCode
impl Send for AuthorizationStateWaitCode
impl Sync for AuthorizationStateWaitCode
impl Unpin for AuthorizationStateWaitCode
impl UnwindSafe for AuthorizationStateWaitCode
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