Struct aws_sdk_networkmanager::model::Device[][src]

#[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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 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.

tags: Option<Vec<Tag>>

The tags for the device.

Implementations

The ID of the device.

The Amazon Resource Name (ARN) of the device.

The ID of the global network.

The Amazon Web Services location of the device.

The description of the device.

The device type.

The device vendor.

The device model.

The device serial number.

The site location.

The site ID.

The date and time that the site was created.

The device state.

The tags for the device.

Creates a new builder-style object to manufacture Device

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more