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
sourceimpl AsRef<RequestQrCodeAuthentication> for RequestQrCodeAuthentication
impl AsRef<RequestQrCodeAuthentication> for RequestQrCodeAuthentication
sourcefn as_ref(&self) -> &RequestQrCodeAuthentication
fn as_ref(&self) -> &RequestQrCodeAuthentication
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for RequestQrCodeAuthentication
impl Clone for RequestQrCodeAuthentication
sourcefn clone(&self) -> RequestQrCodeAuthentication
fn clone(&self) -> RequestQrCodeAuthentication
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for RequestQrCodeAuthentication
impl Debug for RequestQrCodeAuthentication
sourceimpl Default for RequestQrCodeAuthentication
impl Default for RequestQrCodeAuthentication
sourcefn default() -> RequestQrCodeAuthentication
fn default() -> RequestQrCodeAuthentication
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for RequestQrCodeAuthentication
impl<'de> Deserialize<'de> for RequestQrCodeAuthentication
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more