pub struct DeviceResponseModel {
pub object: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
pub _type: Option<DeviceType>,
pub identifier: Option<String>,
pub creation_date: Option<String>,
}
Fields§
§object: Option<String>
§id: Option<String>
§name: Option<String>
§_type: Option<DeviceType>
§identifier: Option<String>
§creation_date: 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 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 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<DeviceResponseModel> for DeviceResponseModel
impl PartialEq<DeviceResponseModel> for DeviceResponseModel
source§fn eq(&self, other: &DeviceResponseModel) -> bool
fn eq(&self, other: &DeviceResponseModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.