#[non_exhaustive]pub struct DescribeDeviceOutput {
pub device_arn: Option<String>,
pub device_name: Option<String>,
pub description: Option<String>,
pub device_fleet_name: Option<String>,
pub iot_thing_name: Option<String>,
pub registration_time: Option<DateTime>,
pub latest_heartbeat: Option<DateTime>,
pub models: Option<Vec<EdgeModel>>,
pub max_models: Option<i32>,
pub next_token: Option<String>,
pub agent_version: Option<String>,
/* private fields */
}
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 Amazon Resource Name (ARN) of the device.
device_name: Option<String>
The unique identifier of the device.
description: Option<String>
A description of the device.
device_fleet_name: Option<String>
The name of the fleet the device belongs to.
iot_thing_name: Option<String>
The Amazon Web Services Internet of Things (IoT) object thing name associated with the device.
registration_time: Option<DateTime>
The timestamp of the last registration or de-reregistration.
latest_heartbeat: Option<DateTime>
The last heartbeat received from the device.
models: Option<Vec<EdgeModel>>
Models on the device.
max_models: Option<i32>
The maximum number of models.
next_token: Option<String>
The response from the last list when returning a list large enough to need tokening.
agent_version: Option<String>
Edge Manager agent version.
Implementations§
source§impl DescribeDeviceOutput
impl DescribeDeviceOutput
sourcepub fn device_arn(&self) -> Option<&str>
pub fn device_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the device.
sourcepub fn device_name(&self) -> Option<&str>
pub fn device_name(&self) -> Option<&str>
The unique identifier of the device.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the device.
sourcepub fn device_fleet_name(&self) -> Option<&str>
pub fn device_fleet_name(&self) -> Option<&str>
The name of the fleet the device belongs to.
sourcepub fn iot_thing_name(&self) -> Option<&str>
pub fn iot_thing_name(&self) -> Option<&str>
The Amazon Web Services Internet of Things (IoT) object thing name associated with the device.
sourcepub fn registration_time(&self) -> Option<&DateTime>
pub fn registration_time(&self) -> Option<&DateTime>
The timestamp of the last registration or de-reregistration.
sourcepub fn latest_heartbeat(&self) -> Option<&DateTime>
pub fn latest_heartbeat(&self) -> Option<&DateTime>
The last heartbeat received from the device.
sourcepub fn models(&self) -> &[EdgeModel]
pub fn models(&self) -> &[EdgeModel]
Models on the device.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .models.is_none()
.
sourcepub fn max_models(&self) -> Option<i32>
pub fn max_models(&self) -> Option<i32>
The maximum number of models.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The response from the last list when returning a list large enough to need tokening.
sourcepub fn agent_version(&self) -> Option<&str>
pub fn agent_version(&self) -> Option<&str>
Edge Manager agent version.
source§impl DescribeDeviceOutput
impl DescribeDeviceOutput
sourcepub fn builder() -> DescribeDeviceOutputBuilder
pub fn builder() -> DescribeDeviceOutputBuilder
Creates a new builder-style object to manufacture DescribeDeviceOutput
.
Trait Implementations§
source§impl Clone for DescribeDeviceOutput
impl Clone for DescribeDeviceOutput
source§fn clone(&self) -> DescribeDeviceOutput
fn clone(&self) -> DescribeDeviceOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeDeviceOutput
impl Debug for DescribeDeviceOutput
source§impl PartialEq for DescribeDeviceOutput
impl PartialEq for DescribeDeviceOutput
source§impl RequestId for DescribeDeviceOutput
impl RequestId for DescribeDeviceOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for DescribeDeviceOutput
Auto Trait Implementations§
impl Freeze for DescribeDeviceOutput
impl RefUnwindSafe for DescribeDeviceOutput
impl Send for DescribeDeviceOutput
impl Sync for DescribeDeviceOutput
impl Unpin for DescribeDeviceOutput
impl UnwindSafe for DescribeDeviceOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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