pub struct DeviceAuthorizationParams {
pub client_id: Option<String>,
pub scope: Option<Vec<String>>,
pub max_age: Option<u64>,
pub other: HashMap<String, Value>,
}
Expand description
§DeviceAuthorizationParams
Parameters for performing Device Authorization
Fields§
§client_id: Option<String>
Client id for making the Device authorization request
scope: Option<Vec<String>>
Scopes to request with
max_age: Option<u64>
Max age allowed for token in seconds
other: HashMap<String, Value>
Other values that needs to be sent with the request
Trait Implementations§
Source§impl Debug for DeviceAuthorizationParams
impl Debug for DeviceAuthorizationParams
Source§impl Default for DeviceAuthorizationParams
impl Default for DeviceAuthorizationParams
Source§fn default() -> DeviceAuthorizationParams
fn default() -> DeviceAuthorizationParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeviceAuthorizationParams
impl RefUnwindSafe for DeviceAuthorizationParams
impl Send for DeviceAuthorizationParams
impl Sync for DeviceAuthorizationParams
impl Unpin for DeviceAuthorizationParams
impl UnwindSafe for DeviceAuthorizationParams
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