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