#[non_exhaustive]pub struct MultiMeasureMappingsBuilder { /* private fields */ }Expand description
A builder for MultiMeasureMappings.
Implementations§
source§impl MultiMeasureMappingsBuilder
impl MultiMeasureMappingsBuilder
sourcepub fn target_multi_measure_name(self, input: impl Into<String>) -> Self
pub fn target_multi_measure_name(self, input: impl Into<String>) -> Self
sourcepub fn set_target_multi_measure_name(self, input: Option<String>) -> Self
pub fn set_target_multi_measure_name(self, input: Option<String>) -> Self
sourcepub fn get_target_multi_measure_name(&self) -> &Option<String>
pub fn get_target_multi_measure_name(&self) -> &Option<String>
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<MultiMeasureMappings, BuildError>
pub fn build(self) -> Result<MultiMeasureMappings, BuildError>
Consumes the builder and constructs a MultiMeasureMappings.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for MultiMeasureMappingsBuilder
impl Clone for MultiMeasureMappingsBuilder
source§fn clone(&self) -> MultiMeasureMappingsBuilder
fn clone(&self) -> MultiMeasureMappingsBuilder
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 MultiMeasureMappingsBuilder
impl Debug for MultiMeasureMappingsBuilder
source§impl Default for MultiMeasureMappingsBuilder
impl Default for MultiMeasureMappingsBuilder
source§fn default() -> MultiMeasureMappingsBuilder
fn default() -> MultiMeasureMappingsBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for MultiMeasureMappingsBuilder
Auto Trait Implementations§
impl Freeze for MultiMeasureMappingsBuilder
impl RefUnwindSafe for MultiMeasureMappingsBuilder
impl Send for MultiMeasureMappingsBuilder
impl Sync for MultiMeasureMappingsBuilder
impl Unpin for MultiMeasureMappingsBuilder
impl UnwindSafe for MultiMeasureMappingsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
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>
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.