Struct rtdlib::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
Performs the conversion.
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for RequestQrCodeAuthentication
impl Send for RequestQrCodeAuthentication
impl Sync for RequestQrCodeAuthentication
impl Unpin for RequestQrCodeAuthentication
impl UnwindSafe for RequestQrCodeAuthentication
Blanket Implementations
Mutably borrows from an owned value. Read more