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
impl TDInternalLinkType for InternalLinkTypeQrCodeAuthentication
Auto Trait Implementations§
impl Freeze for InternalLinkTypeQrCodeAuthentication
impl RefUnwindSafe for InternalLinkTypeQrCodeAuthentication
impl Send for InternalLinkTypeQrCodeAuthentication
impl Sync for InternalLinkTypeQrCodeAuthentication
impl Unpin for InternalLinkTypeQrCodeAuthentication
impl UnwindSafe for InternalLinkTypeQrCodeAuthentication
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more