#[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 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> 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.