#[non_exhaustive]pub struct MixedMeasureMappingBuilder { /* private fields */ }Expand description
A builder for MixedMeasureMapping.
Implementations§
source§impl MixedMeasureMappingBuilder
impl MixedMeasureMappingBuilder
sourcepub fn measure_name(self, input: impl Into<String>) -> Self
pub fn measure_name(self, input: impl Into<String>) -> Self
sourcepub fn set_measure_name(self, input: Option<String>) -> Self
pub fn set_measure_name(self, input: Option<String>) -> Self
sourcepub fn get_measure_name(&self) -> &Option<String>
pub fn get_measure_name(&self) -> &Option<String>
sourcepub fn source_column(self, input: impl Into<String>) -> Self
pub fn source_column(self, input: impl Into<String>) -> Self
sourcepub fn set_source_column(self, input: Option<String>) -> Self
pub fn set_source_column(self, input: Option<String>) -> Self
sourcepub fn get_source_column(&self) -> &Option<String>
pub fn get_source_column(&self) -> &Option<String>
sourcepub fn target_measure_name(self, input: impl Into<String>) -> Self
pub fn target_measure_name(self, input: impl Into<String>) -> Self
sourcepub fn set_target_measure_name(self, input: Option<String>) -> Self
pub fn set_target_measure_name(self, input: Option<String>) -> Self
sourcepub fn get_target_measure_name(&self) -> &Option<String>
pub fn get_target_measure_name(&self) -> &Option<String>
sourcepub fn measure_value_type(self, input: MeasureValueType) -> Self
pub fn measure_value_type(self, input: MeasureValueType) -> Self
This field is required.
sourcepub fn set_measure_value_type(self, input: Option<MeasureValueType>) -> Self
pub fn set_measure_value_type(self, input: Option<MeasureValueType>) -> Self
sourcepub fn get_measure_value_type(&self) -> &Option<MeasureValueType>
pub fn get_measure_value_type(&self) -> &Option<MeasureValueType>
sourcepub fn multi_measure_attribute_mappings(
self,
input: MultiMeasureAttributeMapping
) -> Self
pub fn multi_measure_attribute_mappings( self, input: MultiMeasureAttributeMapping ) -> Self
Appends an item to multi_measure_attribute_mappings.
To override the contents of this collection use set_multi_measure_attribute_mappings.
sourcepub fn set_multi_measure_attribute_mappings(
self,
input: Option<Vec<MultiMeasureAttributeMapping>>
) -> Self
pub fn set_multi_measure_attribute_mappings( self, input: Option<Vec<MultiMeasureAttributeMapping>> ) -> Self
sourcepub fn get_multi_measure_attribute_mappings(
&self
) -> &Option<Vec<MultiMeasureAttributeMapping>>
pub fn get_multi_measure_attribute_mappings( &self ) -> &Option<Vec<MultiMeasureAttributeMapping>>
sourcepub fn build(self) -> Result<MixedMeasureMapping, BuildError>
pub fn build(self) -> Result<MixedMeasureMapping, BuildError>
Consumes the builder and constructs a MixedMeasureMapping.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for MixedMeasureMappingBuilder
impl Clone for MixedMeasureMappingBuilder
source§fn clone(&self) -> MixedMeasureMappingBuilder
fn clone(&self) -> MixedMeasureMappingBuilder
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 MixedMeasureMappingBuilder
impl Debug for MixedMeasureMappingBuilder
source§impl Default for MixedMeasureMappingBuilder
impl Default for MixedMeasureMappingBuilder
source§fn default() -> MixedMeasureMappingBuilder
fn default() -> MixedMeasureMappingBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MixedMeasureMappingBuilder
impl PartialEq for MixedMeasureMappingBuilder
source§fn eq(&self, other: &MixedMeasureMappingBuilder) -> bool
fn eq(&self, other: &MixedMeasureMappingBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MixedMeasureMappingBuilder
Auto Trait Implementations§
impl Freeze for MixedMeasureMappingBuilder
impl RefUnwindSafe for MixedMeasureMappingBuilder
impl Send for MixedMeasureMappingBuilder
impl Sync for MixedMeasureMappingBuilder
impl Unpin for MixedMeasureMappingBuilder
impl UnwindSafe for MixedMeasureMappingBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.