pub struct Device {Show 13 fields
pub created_at: Option<f64>,
pub description: Option<String>,
pub device_arn: Option<String>,
pub device_id: Option<String>,
pub global_network_id: Option<String>,
pub location: Option<Location>,
pub model: Option<String>,
pub serial_number: Option<String>,
pub site_id: Option<String>,
pub state: Option<String>,
pub tags: Option<Vec<Tag>>,
pub type_: Option<String>,
pub vendor: Option<String>,
}Expand description
Describes a device.
Fields§
§created_at: Option<f64>The date and time that the site was created.
description: Option<String>The description of the device.
device_arn: Option<String>The Amazon Resource Name (ARN) of the device.
device_id: Option<String>The ID of the device.
global_network_id: Option<String>The ID of the global network.
location: Option<Location>The site location.
model: Option<String>The device model.
serial_number: Option<String>The device serial number.
site_id: Option<String>The site ID.
state: Option<String>The device state.
The tags for the device.
type_: Option<String>The device type.
vendor: Option<String>The device vendor.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Device
impl<'de> Deserialize<'de> for Device
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
impl StructuralPartialEq for Device
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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