Struct aws_sdk_quicksight::types::ComparisonConfiguration
source · #[non_exhaustive]pub struct ComparisonConfiguration {
pub comparison_method: Option<ComparisonMethod>,
pub comparison_format: Option<ComparisonFormatConfiguration>,
}Expand description
The comparison display configuration of a KPI or gauge chart.
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.comparison_method: Option<ComparisonMethod>The method of the comparison. Choose from the following options:
-
DIFFERENCE -
PERCENT_DIFFERENCE -
PERCENT
comparison_format: Option<ComparisonFormatConfiguration>The format of the comparison.
Implementations§
source§impl ComparisonConfiguration
impl ComparisonConfiguration
sourcepub fn comparison_method(&self) -> Option<&ComparisonMethod>
pub fn comparison_method(&self) -> Option<&ComparisonMethod>
The method of the comparison. Choose from the following options:
-
DIFFERENCE -
PERCENT_DIFFERENCE -
PERCENT
sourcepub fn comparison_format(&self) -> Option<&ComparisonFormatConfiguration>
pub fn comparison_format(&self) -> Option<&ComparisonFormatConfiguration>
The format of the comparison.
source§impl ComparisonConfiguration
impl ComparisonConfiguration
sourcepub fn builder() -> ComparisonConfigurationBuilder
pub fn builder() -> ComparisonConfigurationBuilder
Creates a new builder-style object to manufacture ComparisonConfiguration.
Trait Implementations§
source§impl Clone for ComparisonConfiguration
impl Clone for ComparisonConfiguration
source§fn clone(&self) -> ComparisonConfiguration
fn clone(&self) -> ComparisonConfiguration
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 ComparisonConfiguration
impl Debug for ComparisonConfiguration
source§impl PartialEq for ComparisonConfiguration
impl PartialEq for ComparisonConfiguration
source§fn eq(&self, other: &ComparisonConfiguration) -> bool
fn eq(&self, other: &ComparisonConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ComparisonConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for ComparisonConfiguration
impl Send for ComparisonConfiguration
impl Sync for ComparisonConfiguration
impl Unpin for ComparisonConfiguration
impl UnwindSafe for ComparisonConfiguration
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>
Creates a shared type from an unshared type.