pub struct DeviceResponse {
pub device_code: Option<String>,
pub expires_in: Option<i32>,
pub interval: Option<i32>,
pub user_code: Option<String>,
pub verification_uri: Option<String>,
pub verification_uri_complete: Option<String>,
}
Expand description
DeviceResponse :
Fields§
§device_code: Option<String>
§expires_in: Option<i32>
§interval: Option<i32>
§user_code: Option<String>
§verification_uri: Option<String>
§verification_uri_complete: Option<String>
Implementations§
Source§impl DeviceResponse
impl DeviceResponse
Sourcepub fn new() -> DeviceResponse
pub fn new() -> DeviceResponse
Trait Implementations§
Source§impl Clone for DeviceResponse
impl Clone for DeviceResponse
Source§fn clone(&self) -> DeviceResponse
fn clone(&self) -> DeviceResponse
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 DeviceResponse
impl Debug for DeviceResponse
Source§impl Default for DeviceResponse
impl Default for DeviceResponse
Source§fn default() -> DeviceResponse
fn default() -> DeviceResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceResponse
impl<'de> Deserialize<'de> for DeviceResponse
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 DeviceResponse
impl PartialEq for DeviceResponse
Source§impl Serialize for DeviceResponse
impl Serialize for DeviceResponse
impl StructuralPartialEq for DeviceResponse
Auto Trait Implementations§
impl Freeze for DeviceResponse
impl RefUnwindSafe for DeviceResponse
impl Send for DeviceResponse
impl Sync for DeviceResponse
impl Unpin for DeviceResponse
impl UnwindSafe for DeviceResponse
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