pub struct DeviceAuthorizationOpts {
pub scope: Option<String>,
pub resource: Option<Vec<String>>,
pub client_id: Option<String>,
pub client_secret: Option<String>,
}Expand description
Options for Client::start_device_authorization.
Fields§
§scope: Option<String>§resource: Option<Vec<String>>§client_id: Option<String>§client_secret: Option<String>Trait Implementations§
Source§impl Clone for DeviceAuthorizationOpts
impl Clone for DeviceAuthorizationOpts
Source§fn clone(&self) -> DeviceAuthorizationOpts
fn clone(&self) -> DeviceAuthorizationOpts
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 DeviceAuthorizationOpts
impl Debug for DeviceAuthorizationOpts
Source§impl Default for DeviceAuthorizationOpts
impl Default for DeviceAuthorizationOpts
Source§fn default() -> DeviceAuthorizationOpts
fn default() -> DeviceAuthorizationOpts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeviceAuthorizationOpts
impl RefUnwindSafe for DeviceAuthorizationOpts
impl Send for DeviceAuthorizationOpts
impl Sync for DeviceAuthorizationOpts
impl Unpin for DeviceAuthorizationOpts
impl UnsafeUnpin for DeviceAuthorizationOpts
impl UnwindSafe for DeviceAuthorizationOpts
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