pub struct DeviceCodeSessionAuthenticateRequest {
pub client_id: String,
pub grant_type: String,
pub device_code: String,
pub ip_address: Option<String>,
pub device_id: Option<String>,
pub user_agent: Option<String>,
}Fields§
§client_id: StringThe client ID of the application.
grant_type: String§device_code: StringThe device verification code.
ip_address: Option<String>The IP address of the user’s request.
device_id: Option<String>A unique identifier for the device.
user_agent: Option<String>The user agent string from the user’s browser.
Trait Implementations§
Source§impl Clone for DeviceCodeSessionAuthenticateRequest
impl Clone for DeviceCodeSessionAuthenticateRequest
Source§fn clone(&self) -> DeviceCodeSessionAuthenticateRequest
fn clone(&self) -> DeviceCodeSessionAuthenticateRequest
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<'de> Deserialize<'de> for DeviceCodeSessionAuthenticateRequest
impl<'de> Deserialize<'de> for DeviceCodeSessionAuthenticateRequest
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 DeviceCodeSessionAuthenticateRequest
impl RefUnwindSafe for DeviceCodeSessionAuthenticateRequest
impl Send for DeviceCodeSessionAuthenticateRequest
impl Sync for DeviceCodeSessionAuthenticateRequest
impl Unpin for DeviceCodeSessionAuthenticateRequest
impl UnsafeUnpin for DeviceCodeSessionAuthenticateRequest
impl UnwindSafe for DeviceCodeSessionAuthenticateRequest
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