pub struct ProtectedDeviceResponseModel {
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 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>
§encrypted_user_key: Option<String>
§encrypted_public_key: Option<String>
Implementations§
Source§impl ProtectedDeviceResponseModel
impl ProtectedDeviceResponseModel
pub fn new() -> ProtectedDeviceResponseModel
Trait Implementations§
Source§impl Clone for ProtectedDeviceResponseModel
impl Clone for ProtectedDeviceResponseModel
Source§fn clone(&self) -> ProtectedDeviceResponseModel
fn clone(&self) -> ProtectedDeviceResponseModel
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 ProtectedDeviceResponseModel
impl Debug for ProtectedDeviceResponseModel
Source§impl Default for ProtectedDeviceResponseModel
impl Default for ProtectedDeviceResponseModel
Source§fn default() -> ProtectedDeviceResponseModel
fn default() -> ProtectedDeviceResponseModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProtectedDeviceResponseModel
impl<'de> Deserialize<'de> for ProtectedDeviceResponseModel
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 ProtectedDeviceResponseModel
impl PartialEq for ProtectedDeviceResponseModel
Source§fn eq(&self, other: &ProtectedDeviceResponseModel) -> bool
fn eq(&self, other: &ProtectedDeviceResponseModel) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ProtectedDeviceResponseModel
Auto Trait Implementations§
impl Freeze for ProtectedDeviceResponseModel
impl RefUnwindSafe for ProtectedDeviceResponseModel
impl Send for ProtectedDeviceResponseModel
impl Sync for ProtectedDeviceResponseModel
impl Unpin for ProtectedDeviceResponseModel
impl UnwindSafe for ProtectedDeviceResponseModel
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