Struct aws_sdk_workspacesthinclient::types::DeviceSummary
source · #[non_exhaustive]pub struct DeviceSummary {Show 15 fields
pub id: Option<String>,
pub serial_number: Option<String>,
pub name: Option<String>,
pub model: Option<String>,
pub environment_id: Option<String>,
pub status: Option<DeviceStatus>,
pub current_software_set_id: Option<String>,
pub desired_software_set_id: Option<String>,
pub pending_software_set_id: Option<String>,
pub software_set_update_schedule: Option<SoftwareSetUpdateSchedule>,
pub last_connected_at: Option<DateTime>,
pub last_posture_at: Option<DateTime>,
pub created_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
pub arn: Option<String>,
}
Expand description
Describes a thin client 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.id: Option<String>
The ID of the device.
serial_number: Option<String>
The hardware serial number of the device.
name: Option<String>
The name of the device.
model: Option<String>
The model number of the device.
environment_id: Option<String>
The ID of the environment the device is associated with.
status: Option<DeviceStatus>
The status of the device.
current_software_set_id: Option<String>
The ID of the software set currently installed on the device.
desired_software_set_id: Option<String>
The ID of the software set which the device has been set to.
pending_software_set_id: Option<String>
The ID of the software set that is pending to be installed on the device.
software_set_update_schedule: Option<SoftwareSetUpdateSchedule>
An option to define if software updates should be applied within a maintenance window.
last_connected_at: Option<DateTime>
The timestamp of the most recent session on the device.
last_posture_at: Option<DateTime>
The timestamp of the most recent check-in of the device.
created_at: Option<DateTime>
The timestamp of when the device was created.
updated_at: Option<DateTime>
The timestamp of when the device was updated.
arn: Option<String>
The Amazon Resource Name (ARN) of the device.
Implementations§
source§impl DeviceSummary
impl DeviceSummary
sourcepub fn serial_number(&self) -> Option<&str>
pub fn serial_number(&self) -> Option<&str>
The hardware serial number of the device.
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
The ID of the environment the device is associated with.
sourcepub fn status(&self) -> Option<&DeviceStatus>
pub fn status(&self) -> Option<&DeviceStatus>
The status of the device.
sourcepub fn current_software_set_id(&self) -> Option<&str>
pub fn current_software_set_id(&self) -> Option<&str>
The ID of the software set currently installed on the device.
sourcepub fn desired_software_set_id(&self) -> Option<&str>
pub fn desired_software_set_id(&self) -> Option<&str>
The ID of the software set which the device has been set to.
sourcepub fn pending_software_set_id(&self) -> Option<&str>
pub fn pending_software_set_id(&self) -> Option<&str>
The ID of the software set that is pending to be installed on the device.
sourcepub fn software_set_update_schedule(&self) -> Option<&SoftwareSetUpdateSchedule>
pub fn software_set_update_schedule(&self) -> Option<&SoftwareSetUpdateSchedule>
An option to define if software updates should be applied within a maintenance window.
sourcepub fn last_connected_at(&self) -> Option<&DateTime>
pub fn last_connected_at(&self) -> Option<&DateTime>
The timestamp of the most recent session on the device.
sourcepub fn last_posture_at(&self) -> Option<&DateTime>
pub fn last_posture_at(&self) -> Option<&DateTime>
The timestamp of the most recent check-in of the device.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp of when the device was created.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The timestamp of when the device was updated.
source§impl DeviceSummary
impl DeviceSummary
sourcepub fn builder() -> DeviceSummaryBuilder
pub fn builder() -> DeviceSummaryBuilder
Creates a new builder-style object to manufacture DeviceSummary
.
Trait Implementations§
source§impl Clone for DeviceSummary
impl Clone for DeviceSummary
source§fn clone(&self) -> DeviceSummary
fn clone(&self) -> DeviceSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeviceSummary
impl Debug for DeviceSummary
source§impl PartialEq for DeviceSummary
impl PartialEq for DeviceSummary
source§fn eq(&self, other: &DeviceSummary) -> bool
fn eq(&self, other: &DeviceSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeviceSummary
Auto Trait Implementations§
impl Freeze for DeviceSummary
impl RefUnwindSafe for DeviceSummary
impl Send for DeviceSummary
impl Sync for DeviceSummary
impl Unpin for DeviceSummary
impl UnwindSafe for DeviceSummary
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