pub struct DeviceAuthRequestResponseModel {
pub object: Option<String>,
pub id: Option<Uuid>,
pub name: Option<String>,
pub type: Option<DeviceType>,
pub identifier: Option<String>,
pub creation_date: Option<String>,
pub is_trusted: Option<bool>,
pub device_pending_auth_request: Option<Box<PendingAuthRequest>>,
}
Fields§
§object: Option<String>
§id: Option<Uuid>
§name: Option<String>
§type: Option<DeviceType>
§identifier: Option<String>
§creation_date: Option<String>
§is_trusted: Option<bool>
§device_pending_auth_request: Option<Box<PendingAuthRequest>>
Implementations§
Trait Implementations§
Source§impl Clone for DeviceAuthRequestResponseModel
impl Clone for DeviceAuthRequestResponseModel
Source§fn clone(&self) -> DeviceAuthRequestResponseModel
fn clone(&self) -> DeviceAuthRequestResponseModel
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 Default for DeviceAuthRequestResponseModel
impl Default for DeviceAuthRequestResponseModel
Source§fn default() -> DeviceAuthRequestResponseModel
fn default() -> DeviceAuthRequestResponseModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceAuthRequestResponseModel
impl<'de> Deserialize<'de> for DeviceAuthRequestResponseModel
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 DeviceAuthRequestResponseModel
impl PartialEq for DeviceAuthRequestResponseModel
Source§fn eq(&self, other: &DeviceAuthRequestResponseModel) -> bool
fn eq(&self, other: &DeviceAuthRequestResponseModel) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DeviceAuthRequestResponseModel
Auto Trait Implementations§
impl Freeze for DeviceAuthRequestResponseModel
impl RefUnwindSafe for DeviceAuthRequestResponseModel
impl Send for DeviceAuthRequestResponseModel
impl Sync for DeviceAuthRequestResponseModel
impl Unpin for DeviceAuthRequestResponseModel
impl UnwindSafe for DeviceAuthRequestResponseModel
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