#[non_exhaustive]pub struct MultiMeasureAttributeMappingBuilder { /* private fields */ }Expand description
A builder for MultiMeasureAttributeMapping.
Implementations§
source§impl MultiMeasureAttributeMappingBuilder
 
impl MultiMeasureAttributeMappingBuilder
sourcepub fn measure_value(self, input: impl Into<String>) -> Self
 
pub fn measure_value(self, input: impl Into<String>) -> Self
Dynamic path to the measurement attribute in the source event.
This field is required.sourcepub fn set_measure_value(self, input: Option<String>) -> Self
 
pub fn set_measure_value(self, input: Option<String>) -> Self
Dynamic path to the measurement attribute in the source event.
sourcepub fn get_measure_value(&self) -> &Option<String>
 
pub fn get_measure_value(&self) -> &Option<String>
Dynamic path to the measurement attribute in the source event.
sourcepub fn measure_value_type(self, input: MeasureValueType) -> Self
 
pub fn measure_value_type(self, input: MeasureValueType) -> Self
Data type of the measurement attribute in the source event.
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
Data type of the measurement attribute in the source event.
sourcepub fn get_measure_value_type(&self) -> &Option<MeasureValueType>
 
pub fn get_measure_value_type(&self) -> &Option<MeasureValueType>
Data type of the measurement attribute in the source event.
sourcepub fn multi_measure_attribute_name(self, input: impl Into<String>) -> Self
 
pub fn multi_measure_attribute_name(self, input: impl Into<String>) -> Self
Target measure name to be used.
This field is required.sourcepub fn set_multi_measure_attribute_name(self, input: Option<String>) -> Self
 
pub fn set_multi_measure_attribute_name(self, input: Option<String>) -> Self
Target measure name to be used.
sourcepub fn get_multi_measure_attribute_name(&self) -> &Option<String>
 
pub fn get_multi_measure_attribute_name(&self) -> &Option<String>
Target measure name to be used.
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
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 Default for MultiMeasureAttributeMappingBuilder
 
impl Default for MultiMeasureAttributeMappingBuilder
source§fn default() -> MultiMeasureAttributeMappingBuilder
 
fn default() -> MultiMeasureAttributeMappingBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MultiMeasureAttributeMappingBuilder
 
impl PartialEq for MultiMeasureAttributeMappingBuilder
source§fn eq(&self, other: &MultiMeasureAttributeMappingBuilder) -> bool
 
fn eq(&self, other: &MultiMeasureAttributeMappingBuilder) -> bool
This method tests for 
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
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.