Struct aws_sdk_worklink::output::DescribeDeviceOutput
source · [−]#[non_exhaustive]pub struct DescribeDeviceOutput {
pub status: Option<DeviceStatus>,
pub model: Option<String>,
pub manufacturer: Option<String>,
pub operating_system: Option<String>,
pub operating_system_version: Option<String>,
pub patch_level: Option<String>,
pub first_accessed_time: Option<DateTime>,
pub last_accessed_time: Option<DateTime>,
pub username: Option<String>,
}
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.status: Option<DeviceStatus>
The current state of the device.
model: Option<String>
The model of the device.
manufacturer: Option<String>
The manufacturer of the device.
operating_system: Option<String>
The operating system of the device.
operating_system_version: Option<String>
The operating system version of the device.
patch_level: Option<String>
The operating system patch level of the device.
first_accessed_time: Option<DateTime>
The date that the device first signed in to Amazon WorkLink.
last_accessed_time: Option<DateTime>
The date that the device last accessed Amazon WorkLink.
username: Option<String>
The user name associated with the device.
Implementations
sourceimpl DescribeDeviceOutput
impl DescribeDeviceOutput
sourcepub fn status(&self) -> Option<&DeviceStatus>
pub fn status(&self) -> Option<&DeviceStatus>
The current state of the device.
sourcepub fn manufacturer(&self) -> Option<&str>
pub fn manufacturer(&self) -> Option<&str>
The manufacturer of the device.
sourcepub fn operating_system(&self) -> Option<&str>
pub fn operating_system(&self) -> Option<&str>
The operating system of the device.
sourcepub fn operating_system_version(&self) -> Option<&str>
pub fn operating_system_version(&self) -> Option<&str>
The operating system version of the device.
sourcepub fn patch_level(&self) -> Option<&str>
pub fn patch_level(&self) -> Option<&str>
The operating system patch level of the device.
sourcepub fn first_accessed_time(&self) -> Option<&DateTime>
pub fn first_accessed_time(&self) -> Option<&DateTime>
The date that the device first signed in to Amazon WorkLink.
sourcepub fn last_accessed_time(&self) -> Option<&DateTime>
pub fn last_accessed_time(&self) -> Option<&DateTime>
The date that the device last accessed Amazon WorkLink.
sourceimpl DescribeDeviceOutput
impl DescribeDeviceOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeDeviceOutput
Trait Implementations
sourceimpl Clone for DescribeDeviceOutput
impl Clone for DescribeDeviceOutput
sourcefn clone(&self) -> DescribeDeviceOutput
fn clone(&self) -> DescribeDeviceOutput
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 DescribeDeviceOutput
impl Debug for DescribeDeviceOutput
sourceimpl PartialEq<DescribeDeviceOutput> for DescribeDeviceOutput
impl PartialEq<DescribeDeviceOutput> for DescribeDeviceOutput
sourcefn eq(&self, other: &DescribeDeviceOutput) -> bool
fn eq(&self, other: &DescribeDeviceOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeDeviceOutput) -> bool
fn ne(&self, other: &DescribeDeviceOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeDeviceOutput
Auto Trait Implementations
impl RefUnwindSafe for DescribeDeviceOutput
impl Send for DescribeDeviceOutput
impl Sync for DescribeDeviceOutput
impl Unpin for DescribeDeviceOutput
impl UnwindSafe for DescribeDeviceOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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