Struct aws_sdk_evidently::types::OnlineAbDefinition
source · #[non_exhaustive]pub struct OnlineAbDefinition { /* private fields */ }Expand description
A structure that contains the configuration of which variation to use as the "control" version. The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.
Implementations§
source§impl OnlineAbDefinition
impl OnlineAbDefinition
sourcepub fn control_treatment_name(&self) -> Option<&str>
pub fn control_treatment_name(&self) -> Option<&str>
The name of the variation that is the default variation that the other variations are compared to.
sourcepub fn treatment_weights(&self) -> Option<&HashMap<String, i64>>
pub fn treatment_weights(&self) -> Option<&HashMap<String, i64>>
A set of key-value pairs. The keys are variation names, and the values are the portion of experiment traffic to be assigned to that variation. The traffic portion is specified in thousandths of a percent, so 20,000 for a variation would allocate 20% of the experiment traffic to that variation.
source§impl OnlineAbDefinition
impl OnlineAbDefinition
sourcepub fn builder() -> OnlineAbDefinitionBuilder
pub fn builder() -> OnlineAbDefinitionBuilder
Creates a new builder-style object to manufacture OnlineAbDefinition.
Trait Implementations§
source§impl Clone for OnlineAbDefinition
impl Clone for OnlineAbDefinition
source§fn clone(&self) -> OnlineAbDefinition
fn clone(&self) -> OnlineAbDefinition
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 OnlineAbDefinition
impl Debug for OnlineAbDefinition
source§impl PartialEq<OnlineAbDefinition> for OnlineAbDefinition
impl PartialEq<OnlineAbDefinition> for OnlineAbDefinition
source§fn eq(&self, other: &OnlineAbDefinition) -> bool
fn eq(&self, other: &OnlineAbDefinition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.