pub struct DiscoveredDevice {
pub attributes: HashMap<String, String>,
pub endpoints: Option<DiscoveredDeviceEndpoints>,
pub external_device_id: Option<String>,
pub manufacturer: Option<String>,
pub model: Option<String>,
pub operating_system: Option<String>,
pub operating_system_version: Option<String>,
}
Expand description
Represents a discovered device in the Azure Device Registry service.
Fields§
§attributes: HashMap<String, String>
A set of key-value pairs that contain custom attributes set by the customer.
endpoints: Option<DiscoveredDeviceEndpoints>
Connection endpoint URL a device can use to connect to a service.
external_device_id: Option<String>
The unique identifier of the device.
manufacturer: Option<String>
Device manufacturer.
model: Option<String>
Device model.
operating_system: Option<String>
Device operating system name.
operating_system_version: Option<String>
Device operating system version.
Trait Implementations§
Source§impl Clone for DiscoveredDevice
impl Clone for DiscoveredDevice
Source§fn clone(&self) -> DiscoveredDevice
fn clone(&self) -> DiscoveredDevice
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 moreAuto Trait Implementations§
impl Freeze for DiscoveredDevice
impl RefUnwindSafe for DiscoveredDevice
impl Send for DiscoveredDevice
impl Sync for DiscoveredDevice
impl Unpin for DiscoveredDevice
impl UnwindSafe for DiscoveredDevice
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