#[non_exhaustive]pub struct ScheduledSplitsLaunchDefinitionBuilder { /* private fields */ }
Expand description
A builder for ScheduledSplitsLaunchDefinition
.
Implementations§
source§impl ScheduledSplitsLaunchDefinitionBuilder
impl ScheduledSplitsLaunchDefinitionBuilder
sourcepub fn steps(self, input: ScheduledSplit) -> Self
pub fn steps(self, input: ScheduledSplit) -> Self
Appends an item to steps
.
To override the contents of this collection use set_steps
.
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch. This also defines the start time of each step.
sourcepub fn set_steps(self, input: Option<Vec<ScheduledSplit>>) -> Self
pub fn set_steps(self, input: Option<Vec<ScheduledSplit>>) -> Self
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch. This also defines the start time of each step.
sourcepub fn get_steps(&self) -> &Option<Vec<ScheduledSplit>>
pub fn get_steps(&self) -> &Option<Vec<ScheduledSplit>>
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch. This also defines the start time of each step.
sourcepub fn build(self) -> ScheduledSplitsLaunchDefinition
pub fn build(self) -> ScheduledSplitsLaunchDefinition
Consumes the builder and constructs a ScheduledSplitsLaunchDefinition
.
Trait Implementations§
source§impl Clone for ScheduledSplitsLaunchDefinitionBuilder
impl Clone for ScheduledSplitsLaunchDefinitionBuilder
source§fn clone(&self) -> ScheduledSplitsLaunchDefinitionBuilder
fn clone(&self) -> ScheduledSplitsLaunchDefinitionBuilder
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 Default for ScheduledSplitsLaunchDefinitionBuilder
impl Default for ScheduledSplitsLaunchDefinitionBuilder
source§fn default() -> ScheduledSplitsLaunchDefinitionBuilder
fn default() -> ScheduledSplitsLaunchDefinitionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ScheduledSplitsLaunchDefinitionBuilder
impl PartialEq for ScheduledSplitsLaunchDefinitionBuilder
source§fn eq(&self, other: &ScheduledSplitsLaunchDefinitionBuilder) -> bool
fn eq(&self, other: &ScheduledSplitsLaunchDefinitionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ScheduledSplitsLaunchDefinitionBuilder
Auto Trait Implementations§
impl Freeze for ScheduledSplitsLaunchDefinitionBuilder
impl RefUnwindSafe for ScheduledSplitsLaunchDefinitionBuilder
impl Send for ScheduledSplitsLaunchDefinitionBuilder
impl Sync for ScheduledSplitsLaunchDefinitionBuilder
impl Unpin for ScheduledSplitsLaunchDefinitionBuilder
impl UnwindSafe for ScheduledSplitsLaunchDefinitionBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.