Struct aws_sdk_evidently::types::MetricGoalConfig
source · #[non_exhaustive]pub struct MetricGoalConfig { /* private fields */ }Expand description
Use this structure to tell Evidently whether higher or lower values are desired for a metric that is used in an experiment.
Implementations§
source§impl MetricGoalConfig
impl MetricGoalConfig
sourcepub fn metric_definition(&self) -> Option<&MetricDefinitionConfig>
pub fn metric_definition(&self) -> Option<&MetricDefinitionConfig>
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 MetricGoalConfig
impl MetricGoalConfig
sourcepub fn builder() -> MetricGoalConfigBuilder
pub fn builder() -> MetricGoalConfigBuilder
Creates a new builder-style object to manufacture MetricGoalConfig.
Trait Implementations§
source§impl Clone for MetricGoalConfig
impl Clone for MetricGoalConfig
source§fn clone(&self) -> MetricGoalConfig
fn clone(&self) -> MetricGoalConfig
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 MetricGoalConfig
impl Debug for MetricGoalConfig
source§impl PartialEq<MetricGoalConfig> for MetricGoalConfig
impl PartialEq<MetricGoalConfig> for MetricGoalConfig
source§fn eq(&self, other: &MetricGoalConfig) -> bool
fn eq(&self, other: &MetricGoalConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.