Struct aws_sdk_quicksight::model::ComparisonConfiguration
source · #[non_exhaustive]pub struct ComparisonConfiguration { /* private fields */ }
Expand description
The comparison display configuration of a KPI or gauge chart.
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() -> Builder
pub fn builder() -> Builder
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<ComparisonConfiguration> for ComparisonConfiguration
impl PartialEq<ComparisonConfiguration> 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 ==
.