pub struct DeviceDetailsResponse {Show 15 fields
pub id: Uuid,
pub mac_address: String,
pub ip_address: Option<String>,
pub name: String,
pub model: String,
pub state: String,
pub supported: bool,
pub firmware_version: Option<String>,
pub firmware_updatable: bool,
pub features: Vec<String>,
pub interfaces: Value,
pub serial_number: Option<String>,
pub short_name: Option<String>,
pub startup_timestamp: Option<String>,
pub extra: HashMap<String, Value>,
}Expand description
Adopted device details — extends overview with additional fields.
Fields§
§id: Uuid§mac_address: String§ip_address: Option<String>§name: String§model: String§state: String§supported: bool§firmware_version: Option<String>§firmware_updatable: bool§features: Vec<String>§interfaces: Value§serial_number: Option<String>§short_name: Option<String>§startup_timestamp: Option<String>ISO 8601 date-time.
extra: HashMap<String, Value>Catch-all for additional fields not modeled above.
Trait Implementations§
Source§impl Clone for DeviceDetailsResponse
impl Clone for DeviceDetailsResponse
Source§fn clone(&self) -> DeviceDetailsResponse
fn clone(&self) -> DeviceDetailsResponse
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 DeviceDetailsResponse
impl Debug for DeviceDetailsResponse
Source§impl<'de> Deserialize<'de> for DeviceDetailsResponse
impl<'de> Deserialize<'de> for DeviceDetailsResponse
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 DeviceDetailsResponse
impl PartialEq for DeviceDetailsResponse
Source§impl Serialize for DeviceDetailsResponse
impl Serialize for DeviceDetailsResponse
impl StructuralPartialEq for DeviceDetailsResponse
Auto Trait Implementations§
impl Freeze for DeviceDetailsResponse
impl RefUnwindSafe for DeviceDetailsResponse
impl Send for DeviceDetailsResponse
impl Sync for DeviceDetailsResponse
impl Unpin for DeviceDetailsResponse
impl UnsafeUnpin for DeviceDetailsResponse
impl UnwindSafe for DeviceDetailsResponse
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