pub struct DeviceAuthorizationFlow {
pub device_authorization_url: Url,
pub token_url: Url,
pub refresh_url: Option<Url>,
pub scopes: BTreeMap<String, String>,
}Fields§
§token_url: Url§refresh_url: Option<Url>§scopes: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for DeviceAuthorizationFlow
impl Clone for DeviceAuthorizationFlow
Source§fn clone(&self) -> DeviceAuthorizationFlow
fn clone(&self) -> DeviceAuthorizationFlow
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 DeviceAuthorizationFlow
impl Debug for DeviceAuthorizationFlow
Source§impl<'de> Deserialize<'de> for DeviceAuthorizationFlow
impl<'de> Deserialize<'de> for DeviceAuthorizationFlow
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
Source§impl PartialEq for DeviceAuthorizationFlow
impl PartialEq for DeviceAuthorizationFlow
Source§fn eq(&self, other: &DeviceAuthorizationFlow) -> bool
fn eq(&self, other: &DeviceAuthorizationFlow) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeviceAuthorizationFlow
impl Serialize for DeviceAuthorizationFlow
impl StructuralPartialEq for DeviceAuthorizationFlow
Auto Trait Implementations§
impl Freeze for DeviceAuthorizationFlow
impl RefUnwindSafe for DeviceAuthorizationFlow
impl Send for DeviceAuthorizationFlow
impl Sync for DeviceAuthorizationFlow
impl Unpin for DeviceAuthorizationFlow
impl UnsafeUnpin for DeviceAuthorizationFlow
impl UnwindSafe for DeviceAuthorizationFlow
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