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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more