pub struct DeviceAuthorizationResponse {
pub device_code: String,
pub user_code: String,
pub verification_uri: String,
pub verification_uri_complete: Option<String>,
pub expires_in: i64,
pub interval: u32,
}Expand description
Response from the device authorization endpoint (RFC 8628 Section 3.2).
Fields§
§device_code: String§user_code: String§verification_uri: String§verification_uri_complete: Option<String>§expires_in: i64§interval: u32Trait Implementations§
Source§impl Clone for DeviceAuthorizationResponse
impl Clone for DeviceAuthorizationResponse
Source§fn clone(&self) -> DeviceAuthorizationResponse
fn clone(&self) -> DeviceAuthorizationResponse
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 DeviceAuthorizationResponse
impl Debug for DeviceAuthorizationResponse
Auto Trait Implementations§
impl Freeze for DeviceAuthorizationResponse
impl RefUnwindSafe for DeviceAuthorizationResponse
impl Send for DeviceAuthorizationResponse
impl Sync for DeviceAuthorizationResponse
impl Unpin for DeviceAuthorizationResponse
impl UnsafeUnpin for DeviceAuthorizationResponse
impl UnwindSafe for DeviceAuthorizationResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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