Struct aws_sdk_alexaforbusiness::model::DeviceData
source · [−]#[non_exhaustive]pub struct DeviceData {Show 13 fields
pub device_arn: Option<String>,
pub device_serial_number: Option<String>,
pub device_type: Option<String>,
pub device_name: Option<String>,
pub software_version: Option<String>,
pub mac_address: Option<String>,
pub device_status: Option<DeviceStatus>,
pub network_profile_arn: Option<String>,
pub network_profile_name: Option<String>,
pub room_arn: Option<String>,
pub room_name: Option<String>,
pub device_status_info: Option<DeviceStatusInfo>,
pub created_time: Option<DateTime>,
}
Expand description
Device attributes.
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_arn: Option<String>
The ARN of a device.
device_serial_number: Option<String>
The serial number of a device.
device_type: Option<String>
The type of a device.
device_name: Option<String>
The name of a device.
software_version: Option<String>
The software version of a device.
mac_address: Option<String>
The MAC address of a device.
device_status: Option<DeviceStatus>
The status of a device.
network_profile_arn: Option<String>
The ARN of the network profile associated with a device.
network_profile_name: Option<String>
The name of the network profile associated with a device.
room_arn: Option<String>
The room ARN associated with a device.
room_name: Option<String>
The name of the room associated with a device.
device_status_info: Option<DeviceStatusInfo>
Detailed information about a device's status.
created_time: Option<DateTime>
The time (in epoch) when the device data was created.
Implementations
sourceimpl DeviceData
impl DeviceData
sourcepub fn device_arn(&self) -> Option<&str>
pub fn device_arn(&self) -> Option<&str>
The ARN of a device.
sourcepub fn device_serial_number(&self) -> Option<&str>
pub fn device_serial_number(&self) -> Option<&str>
The serial number of a device.
sourcepub fn device_type(&self) -> Option<&str>
pub fn device_type(&self) -> Option<&str>
The type of a device.
sourcepub fn device_name(&self) -> Option<&str>
pub fn device_name(&self) -> Option<&str>
The name of a device.
sourcepub fn software_version(&self) -> Option<&str>
pub fn software_version(&self) -> Option<&str>
The software version of a device.
sourcepub fn mac_address(&self) -> Option<&str>
pub fn mac_address(&self) -> Option<&str>
The MAC address of a device.
sourcepub fn device_status(&self) -> Option<&DeviceStatus>
pub fn device_status(&self) -> Option<&DeviceStatus>
The status of a device.
sourcepub fn network_profile_arn(&self) -> Option<&str>
pub fn network_profile_arn(&self) -> Option<&str>
The ARN of the network profile associated with a device.
sourcepub fn network_profile_name(&self) -> Option<&str>
pub fn network_profile_name(&self) -> Option<&str>
The name of the network profile associated with a device.
sourcepub fn device_status_info(&self) -> Option<&DeviceStatusInfo>
pub fn device_status_info(&self) -> Option<&DeviceStatusInfo>
Detailed information about a device's status.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The time (in epoch) when the device data was created.
sourceimpl DeviceData
impl DeviceData
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeviceData
Trait Implementations
sourceimpl Clone for DeviceData
impl Clone for DeviceData
sourcefn clone(&self) -> DeviceData
fn clone(&self) -> DeviceData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DeviceData
impl Debug for DeviceData
sourceimpl PartialEq<DeviceData> for DeviceData
impl PartialEq<DeviceData> for DeviceData
sourcefn eq(&self, other: &DeviceData) -> bool
fn eq(&self, other: &DeviceData) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeviceData) -> bool
fn ne(&self, other: &DeviceData) -> bool
This method tests for !=
.
impl StructuralPartialEq for DeviceData
Auto Trait Implementations
impl RefUnwindSafe for DeviceData
impl Send for DeviceData
impl Sync for DeviceData
impl Unpin for DeviceData
impl UnwindSafe for DeviceData
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