pub struct DeviceTokenRequestApplicationFormVariant0 {
pub device_code: String,
pub grant_type: String,
pub additional: BTreeMap<String, Value>,
}Fields§
§device_code: Stringdevice_code returned by POST /v1/auth/device/code. Required for a device-code grant.
grant_type: StringSelects the device authorization grant to poll or exchange a device code.
additional: BTreeMap<String, Value>Members the schema does not declare, kept as received.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DeviceTokenRequestApplicationFormVariant0
impl<'de> Deserialize<'de> for DeviceTokenRequestApplicationFormVariant0
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
Auto Trait Implementations§
impl Freeze for DeviceTokenRequestApplicationFormVariant0
impl RefUnwindSafe for DeviceTokenRequestApplicationFormVariant0
impl Send for DeviceTokenRequestApplicationFormVariant0
impl Sync for DeviceTokenRequestApplicationFormVariant0
impl Unpin for DeviceTokenRequestApplicationFormVariant0
impl UnsafeUnpin for DeviceTokenRequestApplicationFormVariant0
impl UnwindSafe for DeviceTokenRequestApplicationFormVariant0
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