pub struct InternalLinkTypeQrCodeAuthentication { /* private fields */ }Expand description
The link can be used to login the current user on another device, but it must be scanned from QR-code using in-app camera. An alert similar to “This code can be used to allow someone to log in to your Telegram account. To confirm Telegram login, please go to Settings > Devices > Scan QR and scan the code” needs to be shown
Implementations
Trait Implementations
sourceimpl AsRef<InternalLinkTypeQrCodeAuthentication> for InternalLinkTypeQrCodeAuthentication
impl AsRef<InternalLinkTypeQrCodeAuthentication> for InternalLinkTypeQrCodeAuthentication
sourcefn as_ref(&self) -> &InternalLinkTypeQrCodeAuthentication
fn as_ref(&self) -> &InternalLinkTypeQrCodeAuthentication
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for InternalLinkTypeQrCodeAuthentication
impl Clone for InternalLinkTypeQrCodeAuthentication
sourcefn clone(&self) -> InternalLinkTypeQrCodeAuthentication
fn clone(&self) -> InternalLinkTypeQrCodeAuthentication
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 Default for InternalLinkTypeQrCodeAuthentication
impl Default for InternalLinkTypeQrCodeAuthentication
sourcefn default() -> InternalLinkTypeQrCodeAuthentication
fn default() -> InternalLinkTypeQrCodeAuthentication
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InternalLinkTypeQrCodeAuthentication
impl<'de> Deserialize<'de> for InternalLinkTypeQrCodeAuthentication
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
impl TDInternalLinkType for InternalLinkTypeQrCodeAuthentication
Auto Trait Implementations
impl RefUnwindSafe for InternalLinkTypeQrCodeAuthentication
impl Send for InternalLinkTypeQrCodeAuthentication
impl Sync for InternalLinkTypeQrCodeAuthentication
impl Unpin for InternalLinkTypeQrCodeAuthentication
impl UnwindSafe for InternalLinkTypeQrCodeAuthentication
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