#[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 ==
.impl StructuralPartialEq for UpdateDeviceInput
Auto Trait Implementations§
impl Freeze for UpdateDeviceInput
impl RefUnwindSafe for UpdateDeviceInput
impl Send for UpdateDeviceInput
impl Sync for UpdateDeviceInput
impl Unpin for UpdateDeviceInput
impl UnwindSafe for UpdateDeviceInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more