pub struct DeviceCodeResposne {
pub device_code: String,
pub user_code: String,
pub client_id: String,
pub expires_in: String,
pub verification_uri: String,
}Fields§
§device_code: StringThe device code generated for the client
user_code: StringThe user code generated for the client
client_id: StringThe client_id of the client
expires_in: StringThe expiration for the user code
verification_uri: StringThe url the user should go to to enter their user code
Implementations§
Trait Implementations§
Source§impl Clone for DeviceCodeResposne
impl Clone for DeviceCodeResposne
Source§fn clone(&self) -> DeviceCodeResposne
fn clone(&self) -> DeviceCodeResposne
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 Debug for DeviceCodeResposne
impl Debug for DeviceCodeResposne
Source§impl Default for DeviceCodeResposne
impl Default for DeviceCodeResposne
Source§fn default() -> DeviceCodeResposne
fn default() -> DeviceCodeResposne
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceCodeResposne
impl<'de> Deserialize<'de> for DeviceCodeResposne
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 DeviceCodeResposne
impl PartialEq for DeviceCodeResposne
Source§impl Serialize for DeviceCodeResposne
impl Serialize for DeviceCodeResposne
impl StructuralPartialEq for DeviceCodeResposne
Auto Trait Implementations§
impl Freeze for DeviceCodeResposne
impl RefUnwindSafe for DeviceCodeResposne
impl Send for DeviceCodeResposne
impl Sync for DeviceCodeResposne
impl Unpin for DeviceCodeResposne
impl UnsafeUnpin for DeviceCodeResposne
impl UnwindSafe for DeviceCodeResposne
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