#[non_exhaustive]pub struct TotalAggregationComputationBuilder { /* private fields */ }Expand description
A builder for TotalAggregationComputation.
Implementations§
source§impl TotalAggregationComputationBuilder
impl TotalAggregationComputationBuilder
sourcepub fn computation_id(self, input: impl Into<String>) -> Self
pub fn computation_id(self, input: impl Into<String>) -> Self
The ID for a computation.
sourcepub fn set_computation_id(self, input: Option<String>) -> Self
pub fn set_computation_id(self, input: Option<String>) -> Self
The ID for a computation.
sourcepub fn value(self, input: MeasureField) -> Self
pub fn value(self, input: MeasureField) -> Self
The value field that is used in a computation.
sourcepub fn set_value(self, input: Option<MeasureField>) -> Self
pub fn set_value(self, input: Option<MeasureField>) -> Self
The value field that is used in a computation.
sourcepub fn build(self) -> TotalAggregationComputation
pub fn build(self) -> TotalAggregationComputation
Consumes the builder and constructs a TotalAggregationComputation.
Trait Implementations§
source§impl Clone for TotalAggregationComputationBuilder
impl Clone for TotalAggregationComputationBuilder
source§fn clone(&self) -> TotalAggregationComputationBuilder
fn clone(&self) -> TotalAggregationComputationBuilder
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 Default for TotalAggregationComputationBuilder
impl Default for TotalAggregationComputationBuilder
source§fn default() -> TotalAggregationComputationBuilder
fn default() -> TotalAggregationComputationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TotalAggregationComputationBuilder> for TotalAggregationComputationBuilder
impl PartialEq<TotalAggregationComputationBuilder> for TotalAggregationComputationBuilder
source§fn eq(&self, other: &TotalAggregationComputationBuilder) -> bool
fn eq(&self, other: &TotalAggregationComputationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.