Struct aws_sdk_quicksight::model::AggregationFunction
source · #[non_exhaustive]pub struct AggregationFunction { /* private fields */ }
Expand description
An aggregation function aggregates values from a dimension or measure.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
Implementations§
source§impl AggregationFunction
impl AggregationFunction
sourcepub fn numerical_aggregation_function(
&self
) -> Option<&NumericalAggregationFunction>
pub fn numerical_aggregation_function(
&self
) -> Option<&NumericalAggregationFunction>
Aggregation for numerical values.
sourcepub fn categorical_aggregation_function(
&self
) -> Option<&CategoricalAggregationFunction>
pub fn categorical_aggregation_function(
&self
) -> Option<&CategoricalAggregationFunction>
Aggregation for categorical values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values.
sourcepub fn date_aggregation_function(&self) -> Option<&DateAggregationFunction>
pub fn date_aggregation_function(&self) -> Option<&DateAggregationFunction>
Aggregation for date values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values. -
MIN
: Select the smallest date value. -
MAX
: Select the largest date value.
source§impl AggregationFunction
impl AggregationFunction
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AggregationFunction
.
Trait Implementations§
source§impl Clone for AggregationFunction
impl Clone for AggregationFunction
source§fn clone(&self) -> AggregationFunction
fn clone(&self) -> AggregationFunction
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 AggregationFunction
impl Debug for AggregationFunction
source§impl PartialEq<AggregationFunction> for AggregationFunction
impl PartialEq<AggregationFunction> for AggregationFunction
source§fn eq(&self, other: &AggregationFunction) -> bool
fn eq(&self, other: &AggregationFunction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.