pub struct AuthorizationStateWaitOtherDeviceConfirmation {
pub link: String,
}
Expand description
The user needs to confirm authorization on another logged in device by scanning a QR code with the provided link
Fields§
§link: String
A tg: URL for the QR code. The link will be updated frequently
Trait Implementations§
Source§impl Clone for AuthorizationStateWaitOtherDeviceConfirmation
impl Clone for AuthorizationStateWaitOtherDeviceConfirmation
Source§fn clone(&self) -> AuthorizationStateWaitOtherDeviceConfirmation
fn clone(&self) -> AuthorizationStateWaitOtherDeviceConfirmation
Returns a duplicate 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 AuthorizationStateWaitOtherDeviceConfirmation
impl Default for AuthorizationStateWaitOtherDeviceConfirmation
Source§fn default() -> AuthorizationStateWaitOtherDeviceConfirmation
fn default() -> AuthorizationStateWaitOtherDeviceConfirmation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthorizationStateWaitOtherDeviceConfirmation
impl<'de> Deserialize<'de> for AuthorizationStateWaitOtherDeviceConfirmation
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
Source§impl PartialEq for AuthorizationStateWaitOtherDeviceConfirmation
impl PartialEq for AuthorizationStateWaitOtherDeviceConfirmation
Source§fn eq(&self, other: &AuthorizationStateWaitOtherDeviceConfirmation) -> bool
fn eq(&self, other: &AuthorizationStateWaitOtherDeviceConfirmation) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AuthorizationStateWaitOtherDeviceConfirmation
Auto Trait Implementations§
impl Freeze for AuthorizationStateWaitOtherDeviceConfirmation
impl RefUnwindSafe for AuthorizationStateWaitOtherDeviceConfirmation
impl Send for AuthorizationStateWaitOtherDeviceConfirmation
impl Sync for AuthorizationStateWaitOtherDeviceConfirmation
impl Unpin for AuthorizationStateWaitOtherDeviceConfirmation
impl UnwindSafe for AuthorizationStateWaitOtherDeviceConfirmation
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