#[non_exhaustive]pub struct InferenceRecommendationsJobStep {
pub step_type: Option<RecommendationStepType>,
pub job_name: Option<String>,
pub status: Option<RecommendationJobStatus>,
pub inference_benchmark: Option<RecommendationJobInferenceBenchmark>,
}
Expand description
A returned array object for the Steps
response field in the ListInferenceRecommendationsJobSteps API command.
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.step_type: Option<RecommendationStepType>
The type of the subtask.
BENCHMARK
: Evaluate the performance of your model on different instance types.
job_name: Option<String>
The name of the Inference Recommender job.
status: Option<RecommendationJobStatus>
The current status of the benchmark.
inference_benchmark: Option<RecommendationJobInferenceBenchmark>
The details for a specific benchmark.
Implementations§
source§impl InferenceRecommendationsJobStep
impl InferenceRecommendationsJobStep
sourcepub fn step_type(&self) -> Option<&RecommendationStepType>
pub fn step_type(&self) -> Option<&RecommendationStepType>
The type of the subtask.
BENCHMARK
: Evaluate the performance of your model on different instance types.
sourcepub fn status(&self) -> Option<&RecommendationJobStatus>
pub fn status(&self) -> Option<&RecommendationJobStatus>
The current status of the benchmark.
sourcepub fn inference_benchmark(
&self,
) -> Option<&RecommendationJobInferenceBenchmark>
pub fn inference_benchmark( &self, ) -> Option<&RecommendationJobInferenceBenchmark>
The details for a specific benchmark.
source§impl InferenceRecommendationsJobStep
impl InferenceRecommendationsJobStep
sourcepub fn builder() -> InferenceRecommendationsJobStepBuilder
pub fn builder() -> InferenceRecommendationsJobStepBuilder
Creates a new builder-style object to manufacture InferenceRecommendationsJobStep
.
Trait Implementations§
source§impl Clone for InferenceRecommendationsJobStep
impl Clone for InferenceRecommendationsJobStep
source§fn clone(&self) -> InferenceRecommendationsJobStep
fn clone(&self) -> InferenceRecommendationsJobStep
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 PartialEq for InferenceRecommendationsJobStep
impl PartialEq for InferenceRecommendationsJobStep
source§fn eq(&self, other: &InferenceRecommendationsJobStep) -> bool
fn eq(&self, other: &InferenceRecommendationsJobStep) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InferenceRecommendationsJobStep
Auto Trait Implementations§
impl Freeze for InferenceRecommendationsJobStep
impl RefUnwindSafe for InferenceRecommendationsJobStep
impl Send for InferenceRecommendationsJobStep
impl Sync for InferenceRecommendationsJobStep
impl Unpin for InferenceRecommendationsJobStep
impl UnwindSafe for InferenceRecommendationsJobStep
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> 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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.