Struct aws_sdk_quicksight::types::AggregationFunction  
source · #[non_exhaustive]pub struct AggregationFunction {
    pub numerical_aggregation_function: Option<NumericalAggregationFunction>,
    pub categorical_aggregation_function: Option<CategoricalAggregationFunction>,
    pub date_aggregation_function: Option<DateAggregationFunction>,
    pub attribute_aggregation_function: Option<AttributeAggregationFunction>,
}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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.numerical_aggregation_function: Option<NumericalAggregationFunction>Aggregation for numerical values.
categorical_aggregation_function: 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.
date_aggregation_function: 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.
attribute_aggregation_function: Option<AttributeAggregationFunction>Aggregation for attributes.
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.
sourcepub fn attribute_aggregation_function(
    &self
) -> Option<&AttributeAggregationFunction>
 
pub fn attribute_aggregation_function( &self ) -> Option<&AttributeAggregationFunction>
Aggregation for attributes.
source§impl AggregationFunction
 
impl AggregationFunction
sourcepub fn builder() -> AggregationFunctionBuilder
 
pub fn builder() -> AggregationFunctionBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
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
self and other values to be equal, and is used
by ==.