Struct aws_sdk_sagemaker::model::RecommendationMetrics
source · [−]#[non_exhaustive]pub struct RecommendationMetrics { /* private fields */ }Expand description
The metrics of recommendations.
Implementations
sourceimpl RecommendationMetrics
impl RecommendationMetrics
sourcepub fn cost_per_hour(&self) -> f32
pub fn cost_per_hour(&self) -> f32
Defines the cost per hour for the instance.
sourcepub fn cost_per_inference(&self) -> f32
pub fn cost_per_inference(&self) -> f32
Defines the cost per inference for the instance .
sourcepub fn max_invocations(&self) -> i32
pub fn max_invocations(&self) -> i32
The expected maximum number of requests per minute for the instance.
sourcepub fn model_latency(&self) -> i32
pub fn model_latency(&self) -> i32
The expected model latency at maximum invocation per minute for the instance.
sourceimpl RecommendationMetrics
impl RecommendationMetrics
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RecommendationMetrics.
Trait Implementations
sourceimpl Clone for RecommendationMetrics
impl Clone for RecommendationMetrics
sourcefn clone(&self) -> RecommendationMetrics
fn clone(&self) -> RecommendationMetrics
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RecommendationMetrics
impl Debug for RecommendationMetrics
sourceimpl PartialEq<RecommendationMetrics> for RecommendationMetrics
impl PartialEq<RecommendationMetrics> for RecommendationMetrics
sourcefn eq(&self, other: &RecommendationMetrics) -> bool
fn eq(&self, other: &RecommendationMetrics) -> bool
impl StructuralPartialEq for RecommendationMetrics
Auto Trait Implementations
impl RefUnwindSafe for RecommendationMetrics
impl Send for RecommendationMetrics
impl Sync for RecommendationMetrics
impl Unpin for RecommendationMetrics
impl UnwindSafe for RecommendationMetrics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more