Struct rust_tdlib::types::RequestQrCodeAuthentication
source · pub struct RequestQrCodeAuthentication { /* private fields */ }
Expand description
Requests QR code authentication by scanning a QR code on another logged in device. Works only when the current authorization state is authorizationStateWaitPhoneNumber, or if there is no pending authentication query and the current authorization state is authorizationStateWaitCode, authorizationStateWaitRegistration, or authorizationStateWaitPassword
Implementations§
Trait Implementations§
source§impl AsRef<RequestQrCodeAuthentication> for RequestQrCodeAuthentication
impl AsRef<RequestQrCodeAuthentication> for RequestQrCodeAuthentication
source§fn as_ref(&self) -> &RequestQrCodeAuthentication
fn as_ref(&self) -> &RequestQrCodeAuthentication
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for RequestQrCodeAuthentication
impl Clone for RequestQrCodeAuthentication
source§fn clone(&self) -> RequestQrCodeAuthentication
fn clone(&self) -> RequestQrCodeAuthentication
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 RequestQrCodeAuthentication
impl Debug for RequestQrCodeAuthentication
source§impl Default for RequestQrCodeAuthentication
impl Default for RequestQrCodeAuthentication
source§fn default() -> RequestQrCodeAuthentication
fn default() -> RequestQrCodeAuthentication
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RequestQrCodeAuthentication
impl<'de> Deserialize<'de> for RequestQrCodeAuthentication
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