Struct aws_sdk_evidently::types::MetricDefinition
source · #[non_exhaustive]pub struct MetricDefinition { /* private fields */ }Expand description
This structure defines a metric that is being used to evaluate the variations during a launch or experiment.
Implementations§
source§impl MetricDefinition
impl MetricDefinition
sourcepub fn entity_id_key(&self) -> Option<&str>
pub fn entity_id_key(&self) -> Option<&str>
The entity, such as a user or session, that does an action that causes a metric value to be recorded.
sourcepub fn event_pattern(&self) -> Option<&str>
pub fn event_pattern(&self) -> Option<&str>
The EventBridge event pattern that defines how the metric is recorded.
For more information about EventBridge event patterns, see Amazon EventBridge event patterns.
sourcepub fn unit_label(&self) -> Option<&str>
pub fn unit_label(&self) -> Option<&str>
The label for the units that the metric is measuring.
source§impl MetricDefinition
impl MetricDefinition
sourcepub fn builder() -> MetricDefinitionBuilder
pub fn builder() -> MetricDefinitionBuilder
Creates a new builder-style object to manufacture MetricDefinition.
Trait Implementations§
source§impl Clone for MetricDefinition
impl Clone for MetricDefinition
source§fn clone(&self) -> MetricDefinition
fn clone(&self) -> MetricDefinition
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 MetricDefinition
impl Debug for MetricDefinition
source§impl PartialEq<MetricDefinition> for MetricDefinition
impl PartialEq<MetricDefinition> for MetricDefinition
source§fn eq(&self, other: &MetricDefinition) -> bool
fn eq(&self, other: &MetricDefinition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.