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§
source§impl AsRef<InternalLinkTypeQrCodeAuthentication> for InternalLinkTypeQrCodeAuthentication
impl AsRef<InternalLinkTypeQrCodeAuthentication> for InternalLinkTypeQrCodeAuthentication
source§fn as_ref(&self) -> &InternalLinkTypeQrCodeAuthentication
fn as_ref(&self) -> &InternalLinkTypeQrCodeAuthentication
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for InternalLinkTypeQrCodeAuthentication
impl Clone for InternalLinkTypeQrCodeAuthentication
source§fn clone(&self) -> InternalLinkTypeQrCodeAuthentication
fn clone(&self) -> InternalLinkTypeQrCodeAuthentication
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 Default for InternalLinkTypeQrCodeAuthentication
impl Default for InternalLinkTypeQrCodeAuthentication
source§fn default() -> InternalLinkTypeQrCodeAuthentication
fn default() -> InternalLinkTypeQrCodeAuthentication
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InternalLinkTypeQrCodeAuthentication
impl<'de> Deserialize<'de> for InternalLinkTypeQrCodeAuthentication
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