Struct aws_sdk_sagemakeredge::types::Model
source · #[non_exhaustive]pub struct Model {
pub model_name: Option<String>,
pub model_version: Option<String>,
pub latest_sample_time: Option<DateTime>,
pub latest_inference: Option<DateTime>,
pub model_metrics: Option<Vec<EdgeMetric>>,
}
Expand description
Information about a model deployed on an edge device that is registered with SageMaker Edge Manager.
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.model_name: Option<String>
The name of the model.
model_version: Option<String>
The version of the model.
latest_sample_time: Option<DateTime>
The timestamp of the last data sample taken.
latest_inference: Option<DateTime>
The timestamp of the last inference that was made.
model_metrics: Option<Vec<EdgeMetric>>
Information required for model metrics.
Implementations§
source§impl Model
impl Model
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 version of the model.
sourcepub fn latest_sample_time(&self) -> Option<&DateTime>
pub fn latest_sample_time(&self) -> Option<&DateTime>
The timestamp of the last data sample taken.
sourcepub fn latest_inference(&self) -> Option<&DateTime>
pub fn latest_inference(&self) -> Option<&DateTime>
The timestamp of the last inference that was made.
sourcepub fn model_metrics(&self) -> &[EdgeMetric]
pub fn model_metrics(&self) -> &[EdgeMetric]
Information required for model metrics.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .model_metrics.is_none()
.
Trait Implementations§
source§impl PartialEq for Model
impl PartialEq for Model
impl StructuralPartialEq for Model
Auto Trait Implementations§
impl Freeze for Model
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnwindSafe for Model
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.