Struct aws_sdk_sagemaker::types::DeviceStats
source · #[non_exhaustive]pub struct DeviceStats {
pub connected_device_count: Option<i64>,
pub registered_device_count: Option<i64>,
}
Expand description
Status of devices.
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.connected_device_count: Option<i64>
The number of devices connected with a heartbeat.
registered_device_count: Option<i64>
The number of registered devices.
Implementations§
source§impl DeviceStats
impl DeviceStats
sourcepub fn connected_device_count(&self) -> Option<i64>
pub fn connected_device_count(&self) -> Option<i64>
The number of devices connected with a heartbeat.
sourcepub fn registered_device_count(&self) -> Option<i64>
pub fn registered_device_count(&self) -> Option<i64>
The number of registered devices.
source§impl DeviceStats
impl DeviceStats
sourcepub fn builder() -> DeviceStatsBuilder
pub fn builder() -> DeviceStatsBuilder
Creates a new builder-style object to manufacture DeviceStats
.
Trait Implementations§
source§impl Clone for DeviceStats
impl Clone for DeviceStats
source§fn clone(&self) -> DeviceStats
fn clone(&self) -> DeviceStats
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DeviceStats
impl Debug for DeviceStats
source§impl PartialEq for DeviceStats
impl PartialEq for DeviceStats
source§fn eq(&self, other: &DeviceStats) -> bool
fn eq(&self, other: &DeviceStats) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeviceStats
Auto Trait Implementations§
impl RefUnwindSafe for DeviceStats
impl Send for DeviceStats
impl Sync for DeviceStats
impl Unpin for DeviceStats
impl UnwindSafe for DeviceStats
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.