pub struct DeviceUserCodeResponse {
pub client_id: Option<String>,
pub device_info: Option<Box<DeviceInfo>>,
pub expires_in: Option<i32>,
pub pending_id_p_link: Option<Box<PendingIdPLink>>,
pub tenant_id: Option<Uuid>,
pub user_code: Option<String>,
}
Expand description
DeviceUserCodeResponse :
Fields§
§client_id: Option<String>
§device_info: Option<Box<DeviceInfo>>
§expires_in: Option<i32>
§pending_id_p_link: Option<Box<PendingIdPLink>>
§tenant_id: Option<Uuid>
§user_code: Option<String>
Implementations§
source§impl DeviceUserCodeResponse
impl DeviceUserCodeResponse
sourcepub fn new() -> DeviceUserCodeResponse
pub fn new() -> DeviceUserCodeResponse
Trait Implementations§
source§impl Clone for DeviceUserCodeResponse
impl Clone for DeviceUserCodeResponse
source§fn clone(&self) -> DeviceUserCodeResponse
fn clone(&self) -> DeviceUserCodeResponse
Returns a copy of the value. Read more
1.0.0 · 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 DeviceUserCodeResponse
impl Debug for DeviceUserCodeResponse
source§impl Default for DeviceUserCodeResponse
impl Default for DeviceUserCodeResponse
source§fn default() -> DeviceUserCodeResponse
fn default() -> DeviceUserCodeResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeviceUserCodeResponse
impl<'de> Deserialize<'de> for DeviceUserCodeResponse
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 DeviceUserCodeResponse
impl PartialEq for DeviceUserCodeResponse
source§fn eq(&self, other: &DeviceUserCodeResponse) -> bool
fn eq(&self, other: &DeviceUserCodeResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DeviceUserCodeResponse
impl Serialize for DeviceUserCodeResponse
impl StructuralPartialEq for DeviceUserCodeResponse
Auto Trait Implementations§
impl RefUnwindSafe for DeviceUserCodeResponse
impl Send for DeviceUserCodeResponse
impl Sync for DeviceUserCodeResponse
impl Unpin for DeviceUserCodeResponse
impl UnwindSafe for DeviceUserCodeResponse
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