pub struct GetDeviceRes {
pub device_type_id: u32,
pub configuration: Value,
pub pending_configuration: Value,
pub meta_data: Value,
pub mqtt: MqttField,
}
Expand description
Get Device Response Scheme.
Fields§
§device_type_id: u32
ID of the devices’s type in the database (not the same as asset type ID).
configuration: Value
Device’s current configuration.
pending_configuration: Value
Device’s pending configuration.
meta_data: Value
Device’s metadata.
mqtt: MqttField
Mqtt configuration of the device.
Trait Implementations§
Source§impl Debug for GetDeviceRes
impl Debug for GetDeviceRes
Source§impl<'de> Deserialize<'de> for GetDeviceRes
impl<'de> Deserialize<'de> for GetDeviceRes
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
Auto Trait Implementations§
impl Freeze for GetDeviceRes
impl RefUnwindSafe for GetDeviceRes
impl Send for GetDeviceRes
impl Sync for GetDeviceRes
impl Unpin for GetDeviceRes
impl UnwindSafe for GetDeviceRes
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