pub struct DeviceAuthResponse {
pub device_code: String,
pub user_code: String,
pub verification_uri: String,
pub expires_in: u64,
pub interval: u64,
}Expand description
Response from the device authorization endpoint.
Fields§
§device_code: String§user_code: String§verification_uri: String§expires_in: u64§interval: u64Trait Implementations§
Source§impl Debug for DeviceAuthResponse
impl Debug for DeviceAuthResponse
Source§impl<'de> Deserialize<'de> for DeviceAuthResponse
impl<'de> Deserialize<'de> for DeviceAuthResponse
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
Auto Trait Implementations§
impl Freeze for DeviceAuthResponse
impl RefUnwindSafe for DeviceAuthResponse
impl Send for DeviceAuthResponse
impl Sync for DeviceAuthResponse
impl Unpin for DeviceAuthResponse
impl UnsafeUnpin for DeviceAuthResponse
impl UnwindSafe for DeviceAuthResponse
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