Struct aws_sdk_evidently::types::VariationConfig
source · #[non_exhaustive]pub struct VariationConfig {
pub name: String,
pub value: Option<VariableValue>,
}
Expand description
This structure contains the name and variation value of one variation of a feature.
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.name: String
The name of the variation.
value: Option<VariableValue>
The value assigned to this variation.
Implementations§
source§impl VariationConfig
impl VariationConfig
sourcepub fn builder() -> VariationConfigBuilder
pub fn builder() -> VariationConfigBuilder
Creates a new builder-style object to manufacture VariationConfig
.
Trait Implementations§
source§impl Clone for VariationConfig
impl Clone for VariationConfig
source§fn clone(&self) -> VariationConfig
fn clone(&self) -> VariationConfig
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 VariationConfig
impl Debug for VariationConfig
source§impl PartialEq for VariationConfig
impl PartialEq for VariationConfig
source§fn eq(&self, other: &VariationConfig) -> bool
fn eq(&self, other: &VariationConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VariationConfig
Auto Trait Implementations§
impl Freeze for VariationConfig
impl RefUnwindSafe for VariationConfig
impl Send for VariationConfig
impl Sync for VariationConfig
impl Unpin for VariationConfig
impl UnwindSafe for VariationConfig
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.