#[non_exhaustive]pub struct ExperimentTemplateExperimentOptionsBuilder { /* private fields */ }Expand description
A builder for ExperimentTemplateExperimentOptions.
Implementations§
source§impl ExperimentTemplateExperimentOptionsBuilder
impl ExperimentTemplateExperimentOptionsBuilder
sourcepub fn account_targeting(self, input: AccountTargeting) -> Self
pub fn account_targeting(self, input: AccountTargeting) -> Self
The account targeting setting for an experiment template.
sourcepub fn set_account_targeting(self, input: Option<AccountTargeting>) -> Self
pub fn set_account_targeting(self, input: Option<AccountTargeting>) -> Self
The account targeting setting for an experiment template.
sourcepub fn get_account_targeting(&self) -> &Option<AccountTargeting>
pub fn get_account_targeting(&self) -> &Option<AccountTargeting>
The account targeting setting for an experiment template.
sourcepub fn empty_target_resolution_mode(
self,
input: EmptyTargetResolutionMode
) -> Self
pub fn empty_target_resolution_mode( self, input: EmptyTargetResolutionMode ) -> Self
The empty target resolution mode for an experiment template.
sourcepub fn set_empty_target_resolution_mode(
self,
input: Option<EmptyTargetResolutionMode>
) -> Self
pub fn set_empty_target_resolution_mode( self, input: Option<EmptyTargetResolutionMode> ) -> Self
The empty target resolution mode for an experiment template.
sourcepub fn get_empty_target_resolution_mode(
&self
) -> &Option<EmptyTargetResolutionMode>
pub fn get_empty_target_resolution_mode( &self ) -> &Option<EmptyTargetResolutionMode>
The empty target resolution mode for an experiment template.
sourcepub fn build(self) -> ExperimentTemplateExperimentOptions
pub fn build(self) -> ExperimentTemplateExperimentOptions
Consumes the builder and constructs a ExperimentTemplateExperimentOptions.
Trait Implementations§
source§impl Clone for ExperimentTemplateExperimentOptionsBuilder
impl Clone for ExperimentTemplateExperimentOptionsBuilder
source§fn clone(&self) -> ExperimentTemplateExperimentOptionsBuilder
fn clone(&self) -> ExperimentTemplateExperimentOptionsBuilder
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 ExperimentTemplateExperimentOptionsBuilder
impl Default for ExperimentTemplateExperimentOptionsBuilder
source§fn default() -> ExperimentTemplateExperimentOptionsBuilder
fn default() -> ExperimentTemplateExperimentOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ExperimentTemplateExperimentOptionsBuilder
impl PartialEq for ExperimentTemplateExperimentOptionsBuilder
source§fn eq(&self, other: &ExperimentTemplateExperimentOptionsBuilder) -> bool
fn eq(&self, other: &ExperimentTemplateExperimentOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ExperimentTemplateExperimentOptionsBuilder
Auto Trait Implementations§
impl Freeze for ExperimentTemplateExperimentOptionsBuilder
impl RefUnwindSafe for ExperimentTemplateExperimentOptionsBuilder
impl Send for ExperimentTemplateExperimentOptionsBuilder
impl Sync for ExperimentTemplateExperimentOptionsBuilder
impl Unpin for ExperimentTemplateExperimentOptionsBuilder
impl UnwindSafe for ExperimentTemplateExperimentOptionsBuilder
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.