Struct aws_sdk_networkmanager::model::Device
source · [−]#[non_exhaustive]pub struct Device {Show 14 fields
pub device_id: Option<String>,
pub device_arn: Option<String>,
pub global_network_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>,
pub created_at: Option<DateTime>,
pub state: Option<DeviceState>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes a device.
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.device_id: Option<String>
The ID of the device.
device_arn: Option<String>
The Amazon Resource Name (ARN) of the device.
global_network_id: Option<String>
The ID of the global network.
aws_location: Option<AwsLocation>
The Amazon Web Services location of the device.
description: Option<String>
The description of the device.
type: Option<String>
The device type.
vendor: Option<String>
The device vendor.
model: Option<String>
The device model.
serial_number: Option<String>
The device serial number.
location: Option<Location>
The site location.
site_id: Option<String>
The site ID.
created_at: Option<DateTime>
The date and time that the site was created.
state: Option<DeviceState>
The device state.
The tags for the device.
Implementations
sourceimpl Device
impl Device
sourcepub fn device_arn(&self) -> Option<&str>
pub fn device_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the device.
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.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the device.
sourcepub fn serial_number(&self) -> Option<&str>
pub fn serial_number(&self) -> Option<&str>
The device serial number.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time that the site was created.
sourcepub fn state(&self) -> Option<&DeviceState>
pub fn state(&self) -> Option<&DeviceState>
The device state.
The tags for the device.
Trait Implementations
impl StructuralPartialEq for Device
Auto Trait Implementations
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more