#[non_exhaustive]pub struct UpdateLaunchInput {
pub project: Option<String>,
pub launch: Option<String>,
pub description: Option<String>,
pub groups: Option<Vec<LaunchGroupConfig>>,
pub metric_monitors: Option<Vec<MetricMonitorConfig>>,
pub randomization_salt: Option<String>,
pub scheduled_splits_config: Option<ScheduledSplitsLaunchConfig>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.project: Option<String>
The name or ARN of the project that contains the launch that you want to update.
launch: Option<String>
The name of the launch that is to be updated.
description: Option<String>
An optional description for the launch.
groups: Option<Vec<LaunchGroupConfig>>
An array of structures that contains the feature and variations that are to be used for the launch.
metric_monitors: Option<Vec<MetricMonitorConfig>>
An array of structures that define the metrics that will be used to monitor the launch performance.
randomization_salt: Option<String>
When Evidently assigns a particular user session to a launch, it must use a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt
. If you omit randomizationSalt
, Evidently uses the launch name as the randomizationSalt
.
scheduled_splits_config: Option<ScheduledSplitsLaunchConfig>
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.
Implementations§
source§impl UpdateLaunchInput
impl UpdateLaunchInput
sourcepub fn project(&self) -> Option<&str>
pub fn project(&self) -> Option<&str>
The name or ARN of the project that contains the launch that you want to update.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
An optional description for the launch.
sourcepub fn groups(&self) -> &[LaunchGroupConfig]
pub fn groups(&self) -> &[LaunchGroupConfig]
An array of structures that contains the feature and variations that are to be used for the launch.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .groups.is_none()
.
sourcepub fn metric_monitors(&self) -> &[MetricMonitorConfig]
pub fn metric_monitors(&self) -> &[MetricMonitorConfig]
An array of structures that define the metrics that will be used to monitor the launch performance.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .metric_monitors.is_none()
.
sourcepub fn randomization_salt(&self) -> Option<&str>
pub fn randomization_salt(&self) -> Option<&str>
When Evidently assigns a particular user session to a launch, it must use a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt
. If you omit randomizationSalt
, Evidently uses the launch name as the randomizationSalt
.
sourcepub fn scheduled_splits_config(&self) -> Option<&ScheduledSplitsLaunchConfig>
pub fn scheduled_splits_config(&self) -> Option<&ScheduledSplitsLaunchConfig>
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.
source§impl UpdateLaunchInput
impl UpdateLaunchInput
sourcepub fn builder() -> UpdateLaunchInputBuilder
pub fn builder() -> UpdateLaunchInputBuilder
Creates a new builder-style object to manufacture UpdateLaunchInput
.
Trait Implementations§
source§impl Clone for UpdateLaunchInput
impl Clone for UpdateLaunchInput
source§fn clone(&self) -> UpdateLaunchInput
fn clone(&self) -> UpdateLaunchInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateLaunchInput
impl Debug for UpdateLaunchInput
source§impl PartialEq for UpdateLaunchInput
impl PartialEq for UpdateLaunchInput
source§fn eq(&self, other: &UpdateLaunchInput) -> bool
fn eq(&self, other: &UpdateLaunchInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateLaunchInput
Auto Trait Implementations§
impl Freeze for UpdateLaunchInput
impl RefUnwindSafe for UpdateLaunchInput
impl Send for UpdateLaunchInput
impl Sync for UpdateLaunchInput
impl Unpin for UpdateLaunchInput
impl UnwindSafe for UpdateLaunchInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more