#[non_exhaustive]pub struct UpdateDeviceInput {
pub global_network_id: Option<String>,
pub device_id: Option<String>,
pub aws_location: Option<AwsLocation>,
pub description: Option<String>,
pub type: Option<String>,
pub vendor: Option<String>,
pub model: Option<String>,
pub serial_number: Option<String>,
pub location: Option<Location>,
pub site_id: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.global_network_id: Option<String>
The ID of the global network.
device_id: Option<String>
The ID of the device.
aws_location: Option<AwsLocation>
The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit this parameter.
description: Option<String>
A description of the device.
Constraints: Maximum length of 256 characters.
type: Option<String>
The type of the device.
vendor: Option<String>
The vendor of the device.
Constraints: Maximum length of 128 characters.
model: Option<String>
The model of the device.
Constraints: Maximum length of 128 characters.
serial_number: Option<String>
The serial number of the device.
Constraints: Maximum length of 128 characters.
location: Option<Location>
Describes a location.
site_id: Option<String>
The ID of the site.
Implementations§
source§impl UpdateDeviceInput
impl UpdateDeviceInput
sourcepub fn global_network_id(&self) -> Option<&str>
pub fn global_network_id(&self) -> Option<&str>
The ID of the global network.
sourcepub fn aws_location(&self) -> Option<&AwsLocation>
pub fn aws_location(&self) -> Option<&AwsLocation>
The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit this parameter.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the device.
Constraints: Maximum length of 256 characters.
sourcepub fn vendor(&self) -> Option<&str>
pub fn vendor(&self) -> Option<&str>
The vendor of the device.
Constraints: Maximum length of 128 characters.
sourcepub fn model(&self) -> Option<&str>
pub fn model(&self) -> Option<&str>
The model of the device.
Constraints: Maximum length of 128 characters.
sourcepub fn serial_number(&self) -> Option<&str>
pub fn serial_number(&self) -> Option<&str>
The serial number of the device.
Constraints: Maximum length of 128 characters.
source§impl UpdateDeviceInput
impl UpdateDeviceInput
sourcepub fn builder() -> UpdateDeviceInputBuilder
pub fn builder() -> UpdateDeviceInputBuilder
Creates a new builder-style object to manufacture UpdateDeviceInput
.
Trait Implementations§
source§impl Clone for UpdateDeviceInput
impl Clone for UpdateDeviceInput
source§fn clone(&self) -> UpdateDeviceInput
fn clone(&self) -> UpdateDeviceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateDeviceInput
impl Debug for UpdateDeviceInput
source§impl PartialEq for UpdateDeviceInput
impl PartialEq for UpdateDeviceInput
source§fn eq(&self, other: &UpdateDeviceInput) -> bool
fn eq(&self, other: &UpdateDeviceInput) -> bool
self
and other
values to be equal, and is used
by ==
.