pub struct PINCode(pub String);Expand description
PIN code
Is also used for obtaining the the access and refresh tokens, but it’s presented to the user so that they can enter it directly into your app. It’s purpose is to be immediately exchanged for an access_token and refresh_token.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for PINCode
impl<'de> Deserialize<'de> for PINCode
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 Eq for PINCode
impl StructuralPartialEq for PINCode
Auto Trait Implementations§
impl Freeze for PINCode
impl RefUnwindSafe for PINCode
impl Send for PINCode
impl Sync for PINCode
impl Unpin for PINCode
impl UnsafeUnpin for PINCode
impl UnwindSafe for PINCode
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