pub struct DeviceTokenRequest {
pub grant_type: String,
pub device_code: String,
pub client_id: String,
}Expand description
Token request payload for device flow
Fields§
§grant_type: StringGrant type (always “urn:ietf:params:oauth:grant-type:device_code”)
device_code: StringDevice code from authorization response
client_id: StringClient identifier
Trait Implementations§
Source§impl Clone for DeviceTokenRequest
impl Clone for DeviceTokenRequest
Source§fn clone(&self) -> DeviceTokenRequest
fn clone(&self) -> DeviceTokenRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeviceTokenRequest
impl Debug for DeviceTokenRequest
Auto Trait Implementations§
impl Freeze for DeviceTokenRequest
impl RefUnwindSafe for DeviceTokenRequest
impl Send for DeviceTokenRequest
impl Sync for DeviceTokenRequest
impl Unpin for DeviceTokenRequest
impl UnsafeUnpin for DeviceTokenRequest
impl UnwindSafe for DeviceTokenRequest
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