Struct aws_sdk_fis::types::ExperimentOptions
source · #[non_exhaustive]pub struct ExperimentOptions {
pub account_targeting: Option<AccountTargeting>,
pub empty_target_resolution_mode: Option<EmptyTargetResolutionMode>,
pub actions_mode: Option<ActionsMode>,
}Expand description
Describes the options for an experiment.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.account_targeting: Option<AccountTargeting>The account targeting setting for an experiment.
empty_target_resolution_mode: Option<EmptyTargetResolutionMode>The empty target resolution mode for an experiment.
actions_mode: Option<ActionsMode>The actions mode of the experiment that is set from the StartExperiment API command.
Implementations§
source§impl ExperimentOptions
impl ExperimentOptions
sourcepub fn account_targeting(&self) -> Option<&AccountTargeting>
pub fn account_targeting(&self) -> Option<&AccountTargeting>
The account targeting setting for an experiment.
sourcepub fn empty_target_resolution_mode(&self) -> Option<&EmptyTargetResolutionMode>
pub fn empty_target_resolution_mode(&self) -> Option<&EmptyTargetResolutionMode>
The empty target resolution mode for an experiment.
sourcepub fn actions_mode(&self) -> Option<&ActionsMode>
pub fn actions_mode(&self) -> Option<&ActionsMode>
The actions mode of the experiment that is set from the StartExperiment API command.
source§impl ExperimentOptions
impl ExperimentOptions
sourcepub fn builder() -> ExperimentOptionsBuilder
pub fn builder() -> ExperimentOptionsBuilder
Creates a new builder-style object to manufacture ExperimentOptions.
Trait Implementations§
source§impl Clone for ExperimentOptions
impl Clone for ExperimentOptions
source§fn clone(&self) -> ExperimentOptions
fn clone(&self) -> ExperimentOptions
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 ExperimentOptions
impl Debug for ExperimentOptions
source§impl PartialEq for ExperimentOptions
impl PartialEq for ExperimentOptions
source§fn eq(&self, other: &ExperimentOptions) -> bool
fn eq(&self, other: &ExperimentOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ExperimentOptions
Auto Trait Implementations§
impl Freeze for ExperimentOptions
impl RefUnwindSafe for ExperimentOptions
impl Send for ExperimentOptions
impl Sync for ExperimentOptions
impl Unpin for ExperimentOptions
impl UnwindSafe for ExperimentOptions
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.