#[non_exhaustive]pub struct MultiMeasureAttributeMappingBuilder { /* private fields */ }
Expand description
A builder for MultiMeasureAttributeMapping
.
Implementations§
source§impl MultiMeasureAttributeMappingBuilder
impl MultiMeasureAttributeMappingBuilder
sourcepub fn source_column(self, input: impl Into<String>) -> Self
pub fn source_column(self, input: impl Into<String>) -> Self
Source column from where the attribute value is to be read.
This field is required.sourcepub fn set_source_column(self, input: Option<String>) -> Self
pub fn set_source_column(self, input: Option<String>) -> Self
Source column from where the attribute value is to be read.
sourcepub fn get_source_column(&self) -> &Option<String>
pub fn get_source_column(&self) -> &Option<String>
Source column from where the attribute value is to be read.
sourcepub fn target_multi_measure_attribute_name(
self,
input: impl Into<String>,
) -> Self
pub fn target_multi_measure_attribute_name( self, input: impl Into<String>, ) -> Self
Custom name to be used for attribute name in derived table. If not provided, source column name would be used.
sourcepub fn set_target_multi_measure_attribute_name(
self,
input: Option<String>,
) -> Self
pub fn set_target_multi_measure_attribute_name( self, input: Option<String>, ) -> Self
Custom name to be used for attribute name in derived table. If not provided, source column name would be used.
sourcepub fn get_target_multi_measure_attribute_name(&self) -> &Option<String>
pub fn get_target_multi_measure_attribute_name(&self) -> &Option<String>
Custom name to be used for attribute name in derived table. If not provided, source column name would be used.
sourcepub fn measure_value_type(self, input: ScalarMeasureValueType) -> Self
pub fn measure_value_type(self, input: ScalarMeasureValueType) -> Self
Type of the attribute to be read from the source column.
This field is required.sourcepub fn set_measure_value_type(
self,
input: Option<ScalarMeasureValueType>,
) -> Self
pub fn set_measure_value_type( self, input: Option<ScalarMeasureValueType>, ) -> Self
Type of the attribute to be read from the source column.
sourcepub fn get_measure_value_type(&self) -> &Option<ScalarMeasureValueType>
pub fn get_measure_value_type(&self) -> &Option<ScalarMeasureValueType>
Type of the attribute to be read from the source column.
sourcepub fn build(self) -> Result<MultiMeasureAttributeMapping, BuildError>
pub fn build(self) -> Result<MultiMeasureAttributeMapping, BuildError>
Consumes the builder and constructs a MultiMeasureAttributeMapping
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for MultiMeasureAttributeMappingBuilder
impl Clone for MultiMeasureAttributeMappingBuilder
source§fn clone(&self) -> MultiMeasureAttributeMappingBuilder
fn clone(&self) -> MultiMeasureAttributeMappingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for MultiMeasureAttributeMappingBuilder
impl Default for MultiMeasureAttributeMappingBuilder
source§fn default() -> MultiMeasureAttributeMappingBuilder
fn default() -> MultiMeasureAttributeMappingBuilder
source§impl PartialEq for MultiMeasureAttributeMappingBuilder
impl PartialEq for MultiMeasureAttributeMappingBuilder
source§fn eq(&self, other: &MultiMeasureAttributeMappingBuilder) -> bool
fn eq(&self, other: &MultiMeasureAttributeMappingBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MultiMeasureAttributeMappingBuilder
Auto Trait Implementations§
impl Freeze for MultiMeasureAttributeMappingBuilder
impl RefUnwindSafe for MultiMeasureAttributeMappingBuilder
impl Send for MultiMeasureAttributeMappingBuilder
impl Sync for MultiMeasureAttributeMappingBuilder
impl Unpin for MultiMeasureAttributeMappingBuilder
impl UnwindSafe for MultiMeasureAttributeMappingBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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 more