Struct aws_sdk_evidently::types::Segment
source · #[non_exhaustive]pub struct Segment { /* private fields */ }
Expand description
This structure contains information about one audience segment. You can use segments in your experiments and launches to narrow the user sessions used for experiment or launch to only the user sessions that match one or more criteria.
Implementations§
source§impl Segment
impl Segment
sourcepub fn pattern(&self) -> Option<&str>
pub fn pattern(&self) -> Option<&str>
The pattern that defines the attributes to use to evalute whether a user session will be in the segment. For more information about the pattern syntax, see Segment rule pattern syntax.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The date and time that this segment was created.
sourcepub fn last_updated_time(&self) -> Option<&DateTime>
pub fn last_updated_time(&self) -> Option<&DateTime>
The date and time that this segment was most recently updated.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The customer-created description for this segment.
sourcepub fn experiment_count(&self) -> Option<i64>
pub fn experiment_count(&self) -> Option<i64>
The number of experiments that this segment is used in. This count includes all current experiments, not just those that are currently running.
sourcepub fn launch_count(&self) -> Option<i64>
pub fn launch_count(&self) -> Option<i64>
The number of launches that this segment is used in. This count includes all current launches, not just those that are currently running.
The list of tag keys and values associated with this launch.