Struct aws_sdk_sagemaker::types::EdgeModelStat
source · #[non_exhaustive]pub struct EdgeModelStat {
pub model_name: Option<String>,
pub model_version: Option<String>,
pub offline_device_count: i64,
pub connected_device_count: i64,
pub active_device_count: i64,
pub sampling_device_count: i64,
}
Expand description
Status of edge devices with this model.
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.model_name: Option<String>
The name of the model.
model_version: Option<String>
The model version.
offline_device_count: i64
The number of devices that have this model version and do not have a heart beat.
connected_device_count: i64
The number of devices that have this model version and have a heart beat.
active_device_count: i64
The number of devices that have this model version, a heart beat, and are currently running.
sampling_device_count: i64
The number of devices with this model version and are producing sample data.
Implementations§
source§impl EdgeModelStat
impl EdgeModelStat
sourcepub fn model_name(&self) -> Option<&str>
pub fn model_name(&self) -> Option<&str>
The name of the model.
sourcepub fn model_version(&self) -> Option<&str>
pub fn model_version(&self) -> Option<&str>
The model version.
sourcepub fn offline_device_count(&self) -> i64
pub fn offline_device_count(&self) -> i64
The number of devices that have this model version and do not have a heart beat.
sourcepub fn connected_device_count(&self) -> i64
pub fn connected_device_count(&self) -> i64
The number of devices that have this model version and have a heart beat.
sourcepub fn active_device_count(&self) -> i64
pub fn active_device_count(&self) -> i64
The number of devices that have this model version, a heart beat, and are currently running.
sourcepub fn sampling_device_count(&self) -> i64
pub fn sampling_device_count(&self) -> i64
The number of devices with this model version and are producing sample data.
source§impl EdgeModelStat
impl EdgeModelStat
sourcepub fn builder() -> EdgeModelStatBuilder
pub fn builder() -> EdgeModelStatBuilder
Creates a new builder-style object to manufacture EdgeModelStat
.
Trait Implementations§
source§impl Clone for EdgeModelStat
impl Clone for EdgeModelStat
source§fn clone(&self) -> EdgeModelStat
fn clone(&self) -> EdgeModelStat
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EdgeModelStat
impl Debug for EdgeModelStat
source§impl PartialEq<EdgeModelStat> for EdgeModelStat
impl PartialEq<EdgeModelStat> for EdgeModelStat
source§fn eq(&self, other: &EdgeModelStat) -> bool
fn eq(&self, other: &EdgeModelStat) -> bool
self
and other
values to be equal, and is used
by ==
.