#[non_exhaustive]pub struct AttributeAggregationFunctionBuilder { /* private fields */ }
Expand description
A builder for AttributeAggregationFunction
.
Implementations§
source§impl AttributeAggregationFunctionBuilder
impl AttributeAggregationFunctionBuilder
sourcepub fn simple_attribute_aggregation(
self,
input: SimpleAttributeAggregationFunction,
) -> Self
pub fn simple_attribute_aggregation( self, input: SimpleAttributeAggregationFunction, ) -> Self
The built-in aggregation functions for attributes.
-
UNIQUE_VALUE
: Returns the unique value for a field, aggregated by the dimension fields.
sourcepub fn set_simple_attribute_aggregation(
self,
input: Option<SimpleAttributeAggregationFunction>,
) -> Self
pub fn set_simple_attribute_aggregation( self, input: Option<SimpleAttributeAggregationFunction>, ) -> Self
The built-in aggregation functions for attributes.
-
UNIQUE_VALUE
: Returns the unique value for a field, aggregated by the dimension fields.
sourcepub fn get_simple_attribute_aggregation(
&self,
) -> &Option<SimpleAttributeAggregationFunction>
pub fn get_simple_attribute_aggregation( &self, ) -> &Option<SimpleAttributeAggregationFunction>
The built-in aggregation functions for attributes.
-
UNIQUE_VALUE
: Returns the unique value for a field, aggregated by the dimension fields.
sourcepub fn value_for_multiple_values(self, input: impl Into<String>) -> Self
pub fn value_for_multiple_values(self, input: impl Into<String>) -> Self
Used by the UNIQUE_VALUE
aggregation function. If there are multiple values for the field used by the aggregation, the value for this property will be returned instead. Defaults to '*'.
sourcepub fn set_value_for_multiple_values(self, input: Option<String>) -> Self
pub fn set_value_for_multiple_values(self, input: Option<String>) -> Self
Used by the UNIQUE_VALUE
aggregation function. If there are multiple values for the field used by the aggregation, the value for this property will be returned instead. Defaults to '*'.
sourcepub fn get_value_for_multiple_values(&self) -> &Option<String>
pub fn get_value_for_multiple_values(&self) -> &Option<String>
Used by the UNIQUE_VALUE
aggregation function. If there are multiple values for the field used by the aggregation, the value for this property will be returned instead. Defaults to '*'.
sourcepub fn build(self) -> AttributeAggregationFunction
pub fn build(self) -> AttributeAggregationFunction
Consumes the builder and constructs a AttributeAggregationFunction
.
Trait Implementations§
source§impl Clone for AttributeAggregationFunctionBuilder
impl Clone for AttributeAggregationFunctionBuilder
source§fn clone(&self) -> AttributeAggregationFunctionBuilder
fn clone(&self) -> AttributeAggregationFunctionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AttributeAggregationFunctionBuilder
impl Default for AttributeAggregationFunctionBuilder
source§fn default() -> AttributeAggregationFunctionBuilder
fn default() -> AttributeAggregationFunctionBuilder
source§impl PartialEq for AttributeAggregationFunctionBuilder
impl PartialEq for AttributeAggregationFunctionBuilder
source§fn eq(&self, other: &AttributeAggregationFunctionBuilder) -> bool
fn eq(&self, other: &AttributeAggregationFunctionBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AttributeAggregationFunctionBuilder
Auto Trait Implementations§
impl Freeze for AttributeAggregationFunctionBuilder
impl RefUnwindSafe for AttributeAggregationFunctionBuilder
impl Send for AttributeAggregationFunctionBuilder
impl Sync for AttributeAggregationFunctionBuilder
impl Unpin for AttributeAggregationFunctionBuilder
impl UnwindSafe for AttributeAggregationFunctionBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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 more