Struct aws_sdk_evidently::types::MetricGoal
source · #[non_exhaustive]pub struct MetricGoal { /* private fields */ }Expand description
A structure that tells Evidently whether higher or lower values are desired for a metric that is used in an experiment.
Implementations§
source§impl MetricGoal
impl MetricGoal
sourcepub fn metric_definition(&self) -> Option<&MetricDefinition>
pub fn metric_definition(&self) -> Option<&MetricDefinition>
A structure that contains details about the metric.
sourcepub fn desired_change(&self) -> Option<&ChangeDirectionEnum>
pub fn desired_change(&self) -> Option<&ChangeDirectionEnum>
INCREASE means that a variation with a higher number for this metric is performing better.
DECREASE means that a variation with a lower number for this metric is performing better.
source§impl MetricGoal
impl MetricGoal
sourcepub fn builder() -> MetricGoalBuilder
pub fn builder() -> MetricGoalBuilder
Creates a new builder-style object to manufacture MetricGoal.
Trait Implementations§
source§impl Clone for MetricGoal
impl Clone for MetricGoal
source§fn clone(&self) -> MetricGoal
fn clone(&self) -> MetricGoal
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 Debug for MetricGoal
impl Debug for MetricGoal
source§impl PartialEq<MetricGoal> for MetricGoal
impl PartialEq<MetricGoal> for MetricGoal
source§fn eq(&self, other: &MetricGoal) -> bool
fn eq(&self, other: &MetricGoal) -> bool
This method tests for
self and other values to be equal, and is used
by ==.