#[non_exhaustive]pub struct RealTimeInferenceRecommendation {
pub recommendation_id: Option<String>,
pub instance_type: Option<ProductionVariantInstanceType>,
pub environment: Option<HashMap<String, String>>,
}
Expand description
The recommended configuration to use for Real-Time Inference.
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.recommendation_id: Option<String>
The recommendation ID which uniquely identifies each recommendation.
instance_type: Option<ProductionVariantInstanceType>
The recommended instance type for Real-Time Inference.
environment: Option<HashMap<String, String>>
The recommended environment variables to set in the model container for Real-Time Inference.
Implementations§
source§impl RealTimeInferenceRecommendation
impl RealTimeInferenceRecommendation
sourcepub fn recommendation_id(&self) -> Option<&str>
pub fn recommendation_id(&self) -> Option<&str>
The recommendation ID which uniquely identifies each recommendation.
sourcepub fn instance_type(&self) -> Option<&ProductionVariantInstanceType>
pub fn instance_type(&self) -> Option<&ProductionVariantInstanceType>
The recommended instance type for Real-Time Inference.
source§impl RealTimeInferenceRecommendation
impl RealTimeInferenceRecommendation
sourcepub fn builder() -> RealTimeInferenceRecommendationBuilder
pub fn builder() -> RealTimeInferenceRecommendationBuilder
Creates a new builder-style object to manufacture RealTimeInferenceRecommendation
.
Trait Implementations§
source§impl Clone for RealTimeInferenceRecommendation
impl Clone for RealTimeInferenceRecommendation
source§fn clone(&self) -> RealTimeInferenceRecommendation
fn clone(&self) -> RealTimeInferenceRecommendation
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 RealTimeInferenceRecommendation
impl PartialEq for RealTimeInferenceRecommendation
source§fn eq(&self, other: &RealTimeInferenceRecommendation) -> bool
fn eq(&self, other: &RealTimeInferenceRecommendation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RealTimeInferenceRecommendation
Auto Trait Implementations§
impl Freeze for RealTimeInferenceRecommendation
impl RefUnwindSafe for RealTimeInferenceRecommendation
impl Send for RealTimeInferenceRecommendation
impl Sync for RealTimeInferenceRecommendation
impl Unpin for RealTimeInferenceRecommendation
impl UnwindSafe for RealTimeInferenceRecommendation
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.