#[non_exhaustive]pub struct MultiMeasureAttributeMapping {
pub source_column: Option<String>,
pub target_multi_measure_attribute_name: Option<String>,
pub measure_value_type: Option<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: Option<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: Option<ScalarMeasureValueType>
Type of the attribute to be read from the source column.
Implementations§
source§impl MultiMeasureAttributeMapping
impl MultiMeasureAttributeMapping
sourcepub fn source_column(&self) -> Option<&str>
pub fn source_column(&self) -> Option<&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) -> Option<&ScalarMeasureValueType>
pub fn measure_value_type(&self) -> Option<&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 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