#[non_exhaustive]pub struct NumericalMeasureFieldBuilder { /* private fields */ }Expand description
A builder for NumericalMeasureField.
Implementations§
source§impl NumericalMeasureFieldBuilder
impl NumericalMeasureFieldBuilder
sourcepub fn set_field_id(self, input: Option<String>) -> Self
pub fn set_field_id(self, input: Option<String>) -> Self
The custom field ID.
sourcepub fn column(self, input: ColumnIdentifier) -> Self
pub fn column(self, input: ColumnIdentifier) -> Self
The column that is used in the NumericalMeasureField.
sourcepub fn set_column(self, input: Option<ColumnIdentifier>) -> Self
pub fn set_column(self, input: Option<ColumnIdentifier>) -> Self
The column that is used in the NumericalMeasureField.
sourcepub fn aggregation_function(self, input: NumericalAggregationFunction) -> Self
pub fn aggregation_function(self, input: NumericalAggregationFunction) -> Self
The aggregation function of the measure field.
sourcepub fn set_aggregation_function(
self,
input: Option<NumericalAggregationFunction>
) -> Self
pub fn set_aggregation_function( self, input: Option<NumericalAggregationFunction> ) -> Self
The aggregation function of the measure field.
sourcepub fn format_configuration(self, input: NumberFormatConfiguration) -> Self
pub fn format_configuration(self, input: NumberFormatConfiguration) -> Self
The format configuration of the field.
sourcepub fn set_format_configuration(
self,
input: Option<NumberFormatConfiguration>
) -> Self
pub fn set_format_configuration( self, input: Option<NumberFormatConfiguration> ) -> Self
The format configuration of the field.
sourcepub fn build(self) -> NumericalMeasureField
pub fn build(self) -> NumericalMeasureField
Consumes the builder and constructs a NumericalMeasureField.
Trait Implementations§
source§impl Clone for NumericalMeasureFieldBuilder
impl Clone for NumericalMeasureFieldBuilder
source§fn clone(&self) -> NumericalMeasureFieldBuilder
fn clone(&self) -> NumericalMeasureFieldBuilder
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 NumericalMeasureFieldBuilder
impl Debug for NumericalMeasureFieldBuilder
source§impl Default for NumericalMeasureFieldBuilder
impl Default for NumericalMeasureFieldBuilder
source§fn default() -> NumericalMeasureFieldBuilder
fn default() -> NumericalMeasureFieldBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<NumericalMeasureFieldBuilder> for NumericalMeasureFieldBuilder
impl PartialEq<NumericalMeasureFieldBuilder> for NumericalMeasureFieldBuilder
source§fn eq(&self, other: &NumericalMeasureFieldBuilder) -> bool
fn eq(&self, other: &NumericalMeasureFieldBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.