#[non_exhaustive]pub struct MetricComparisonComputationBuilder { /* private fields */ }Expand description
A builder for MetricComparisonComputation.
Implementations§
source§impl MetricComparisonComputationBuilder
impl MetricComparisonComputationBuilder
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 time(self, input: DimensionField) -> Self
pub fn time(self, input: DimensionField) -> Self
The time field that is used in a computation.
sourcepub fn set_time(self, input: Option<DimensionField>) -> Self
pub fn set_time(self, input: Option<DimensionField>) -> Self
The time field that is used in a computation.
sourcepub fn from_value(self, input: MeasureField) -> Self
pub fn from_value(self, input: MeasureField) -> Self
The field that is used in a metric comparison from value setup.
sourcepub fn set_from_value(self, input: Option<MeasureField>) -> Self
pub fn set_from_value(self, input: Option<MeasureField>) -> Self
The field that is used in a metric comparison from value setup.
sourcepub fn target_value(self, input: MeasureField) -> Self
pub fn target_value(self, input: MeasureField) -> Self
The field that is used in a metric comparison to value setup.
sourcepub fn set_target_value(self, input: Option<MeasureField>) -> Self
pub fn set_target_value(self, input: Option<MeasureField>) -> Self
The field that is used in a metric comparison to value setup.
sourcepub fn build(self) -> MetricComparisonComputation
pub fn build(self) -> MetricComparisonComputation
Consumes the builder and constructs a MetricComparisonComputation.
Trait Implementations§
source§impl Clone for MetricComparisonComputationBuilder
impl Clone for MetricComparisonComputationBuilder
source§fn clone(&self) -> MetricComparisonComputationBuilder
fn clone(&self) -> MetricComparisonComputationBuilder
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 MetricComparisonComputationBuilder
impl Default for MetricComparisonComputationBuilder
source§fn default() -> MetricComparisonComputationBuilder
fn default() -> MetricComparisonComputationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<MetricComparisonComputationBuilder> for MetricComparisonComputationBuilder
impl PartialEq<MetricComparisonComputationBuilder> for MetricComparisonComputationBuilder
source§fn eq(&self, other: &MetricComparisonComputationBuilder) -> bool
fn eq(&self, other: &MetricComparisonComputationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MetricComparisonComputationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for MetricComparisonComputationBuilder
impl Send for MetricComparisonComputationBuilder
impl Sync for MetricComparisonComputationBuilder
impl Unpin for MetricComparisonComputationBuilder
impl UnwindSafe for MetricComparisonComputationBuilder
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
Mutably borrows from an owned value. Read more