#[non_exhaustive]pub struct MultiMeasureAttributeMapping {
pub source_column: String,
pub target_multi_measure_attribute_name: Option<String>,
pub measure_value_type: ScalarMeasureValueType,
}
Expand description
Attribute mapping for MULTI value measures.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.source_column: String
Source column from where the attribute value is to be read.
target_multi_measure_attribute_name: Option<String>
Custom name to be used for attribute name in derived table. If not provided, source column name would be used.
measure_value_type: ScalarMeasureValueType
Type of the attribute to be read from the source column.
Implementations§
source§impl MultiMeasureAttributeMapping
impl MultiMeasureAttributeMapping
sourcepub fn source_column(&self) -> &str
pub fn source_column(&self) -> &str
Source column from where the attribute value is to be read.
sourcepub fn target_multi_measure_attribute_name(&self) -> Option<&str>
pub fn target_multi_measure_attribute_name(&self) -> Option<&str>
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) -> &ScalarMeasureValueType
pub fn measure_value_type(&self) -> &ScalarMeasureValueType
Type of the attribute to be read from the source column.
source§impl MultiMeasureAttributeMapping
impl MultiMeasureAttributeMapping
sourcepub fn builder() -> MultiMeasureAttributeMappingBuilder
pub fn builder() -> MultiMeasureAttributeMappingBuilder
Creates a new builder-style object to manufacture MultiMeasureAttributeMapping
.
Trait Implementations§
source§impl Clone for MultiMeasureAttributeMapping
impl Clone for MultiMeasureAttributeMapping
source§fn clone(&self) -> MultiMeasureAttributeMapping
fn clone(&self) -> MultiMeasureAttributeMapping
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 MultiMeasureAttributeMapping
impl Debug for MultiMeasureAttributeMapping
source§impl PartialEq for MultiMeasureAttributeMapping
impl PartialEq for MultiMeasureAttributeMapping
source§fn eq(&self, other: &MultiMeasureAttributeMapping) -> bool
fn eq(&self, other: &MultiMeasureAttributeMapping) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MultiMeasureAttributeMapping
Auto Trait Implementations§
impl Freeze for MultiMeasureAttributeMapping
impl RefUnwindSafe for MultiMeasureAttributeMapping
impl Send for MultiMeasureAttributeMapping
impl Sync for MultiMeasureAttributeMapping
impl Unpin for MultiMeasureAttributeMapping
impl UnwindSafe for MultiMeasureAttributeMapping
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>
Creates a shared type from an unshared type.