#[non_exhaustive]pub struct RecommendationJobInferenceBenchmark {
pub metrics: Option<RecommendationMetrics>,
pub endpoint_metrics: Option<InferenceMetrics>,
pub endpoint_configuration: Option<EndpointOutputConfiguration>,
pub model_configuration: Option<ModelConfiguration>,
pub failure_reason: Option<String>,
pub invocation_end_time: Option<DateTime>,
pub invocation_start_time: Option<DateTime>,
}
Expand description
The details for a specific benchmark from an Inference Recommender job.
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.metrics: Option<RecommendationMetrics>
The metrics of recommendations.
endpoint_metrics: Option<InferenceMetrics>
The metrics for an existing endpoint compared in an Inference Recommender job.
endpoint_configuration: Option<EndpointOutputConfiguration>
The endpoint configuration made by Inference Recommender during a recommendation job.
model_configuration: Option<ModelConfiguration>
Defines the model configuration. Includes the specification name and environment parameters.
failure_reason: Option<String>
The reason why a benchmark failed.
invocation_end_time: Option<DateTime>
A timestamp that shows when the benchmark completed.
invocation_start_time: Option<DateTime>
A timestamp that shows when the benchmark started.
Implementations§
source§impl RecommendationJobInferenceBenchmark
impl RecommendationJobInferenceBenchmark
sourcepub fn metrics(&self) -> Option<&RecommendationMetrics>
pub fn metrics(&self) -> Option<&RecommendationMetrics>
The metrics of recommendations.
sourcepub fn endpoint_metrics(&self) -> Option<&InferenceMetrics>
pub fn endpoint_metrics(&self) -> Option<&InferenceMetrics>
The metrics for an existing endpoint compared in an Inference Recommender job.
sourcepub fn endpoint_configuration(&self) -> Option<&EndpointOutputConfiguration>
pub fn endpoint_configuration(&self) -> Option<&EndpointOutputConfiguration>
The endpoint configuration made by Inference Recommender during a recommendation job.
sourcepub fn model_configuration(&self) -> Option<&ModelConfiguration>
pub fn model_configuration(&self) -> Option<&ModelConfiguration>
Defines the model configuration. Includes the specification name and environment parameters.
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
The reason why a benchmark failed.
sourcepub fn invocation_end_time(&self) -> Option<&DateTime>
pub fn invocation_end_time(&self) -> Option<&DateTime>
A timestamp that shows when the benchmark completed.
sourcepub fn invocation_start_time(&self) -> Option<&DateTime>
pub fn invocation_start_time(&self) -> Option<&DateTime>
A timestamp that shows when the benchmark started.
source§impl RecommendationJobInferenceBenchmark
impl RecommendationJobInferenceBenchmark
sourcepub fn builder() -> RecommendationJobInferenceBenchmarkBuilder
pub fn builder() -> RecommendationJobInferenceBenchmarkBuilder
Creates a new builder-style object to manufacture RecommendationJobInferenceBenchmark
.
Trait Implementations§
source§impl Clone for RecommendationJobInferenceBenchmark
impl Clone for RecommendationJobInferenceBenchmark
source§fn clone(&self) -> RecommendationJobInferenceBenchmark
fn clone(&self) -> RecommendationJobInferenceBenchmark
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for RecommendationJobInferenceBenchmark
impl PartialEq for RecommendationJobInferenceBenchmark
source§fn eq(&self, other: &RecommendationJobInferenceBenchmark) -> bool
fn eq(&self, other: &RecommendationJobInferenceBenchmark) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RecommendationJobInferenceBenchmark
Auto Trait Implementations§
impl Freeze for RecommendationJobInferenceBenchmark
impl RefUnwindSafe for RecommendationJobInferenceBenchmark
impl Send for RecommendationJobInferenceBenchmark
impl Sync for RecommendationJobInferenceBenchmark
impl Unpin for RecommendationJobInferenceBenchmark
impl UnwindSafe for RecommendationJobInferenceBenchmark
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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