pub struct DeviceResponseModel {
    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 encrypted_user_key: Option<String>,
    pub encrypted_public_key: Option<String>,
}Fields§
§object: Option<String>§id: Option<Uuid>§name: Option<String>§type: Option<DeviceType>§identifier: Option<String>§creation_date: Option<String>§is_trusted: Option<bool>§encrypted_user_key: Option<String>§encrypted_public_key: Option<String>Implementations§
Source§impl DeviceResponseModel
 
impl DeviceResponseModel
pub fn new() -> DeviceResponseModel
Trait Implementations§
Source§impl Clone for DeviceResponseModel
 
impl Clone for DeviceResponseModel
Source§fn clone(&self) -> DeviceResponseModel
 
fn clone(&self) -> DeviceResponseModel
Returns a duplicate 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 DeviceResponseModel
 
impl Debug for DeviceResponseModel
Source§impl Default for DeviceResponseModel
 
impl Default for DeviceResponseModel
Source§fn default() -> DeviceResponseModel
 
fn default() -> DeviceResponseModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceResponseModel
 
impl<'de> Deserialize<'de> for DeviceResponseModel
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 DeviceResponseModel
 
impl PartialEq for DeviceResponseModel
Source§impl Serialize for DeviceResponseModel
 
impl Serialize for DeviceResponseModel
impl StructuralPartialEq for DeviceResponseModel
Auto Trait Implementations§
impl Freeze for DeviceResponseModel
impl RefUnwindSafe for DeviceResponseModel
impl Send for DeviceResponseModel
impl Sync for DeviceResponseModel
impl Unpin for DeviceResponseModel
impl UnwindSafe for DeviceResponseModel
Blanket Implementations§
§impl<T> AnySync for T
 
impl<T> AnySync for T
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