pub struct InternalLinkTypeAuthenticationCode {
pub code: String,
}
Expand description
The link contains an authentication code. Call checkAuthenticationCode with the code if the current authorization state is authorizationStateWaitCode
Fields§
§code: String
The authentication code
Trait Implementations§
Source§impl Clone for InternalLinkTypeAuthenticationCode
impl Clone for InternalLinkTypeAuthenticationCode
Source§fn clone(&self) -> InternalLinkTypeAuthenticationCode
fn clone(&self) -> InternalLinkTypeAuthenticationCode
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 InternalLinkTypeAuthenticationCode
impl Default for InternalLinkTypeAuthenticationCode
Source§fn default() -> InternalLinkTypeAuthenticationCode
fn default() -> InternalLinkTypeAuthenticationCode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InternalLinkTypeAuthenticationCode
impl<'de> Deserialize<'de> for InternalLinkTypeAuthenticationCode
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 InternalLinkTypeAuthenticationCode
impl PartialEq for InternalLinkTypeAuthenticationCode
Source§fn eq(&self, other: &InternalLinkTypeAuthenticationCode) -> bool
fn eq(&self, other: &InternalLinkTypeAuthenticationCode) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for InternalLinkTypeAuthenticationCode
Auto Trait Implementations§
impl Freeze for InternalLinkTypeAuthenticationCode
impl RefUnwindSafe for InternalLinkTypeAuthenticationCode
impl Send for InternalLinkTypeAuthenticationCode
impl Sync for InternalLinkTypeAuthenticationCode
impl Unpin for InternalLinkTypeAuthenticationCode
impl UnwindSafe for InternalLinkTypeAuthenticationCode
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