#[non_exhaustive]pub struct MeasurementProcessingConfigBuilder { /* private fields */ }Expand description
A builder for MeasurementProcessingConfig.
Implementations§
source§impl MeasurementProcessingConfigBuilder
impl MeasurementProcessingConfigBuilder
sourcepub fn forwarding_config(self, input: ForwardingConfig) -> Self
pub fn forwarding_config(self, input: ForwardingConfig) -> Self
The forwarding configuration for the given measurement property.
This field is required.sourcepub fn set_forwarding_config(self, input: Option<ForwardingConfig>) -> Self
pub fn set_forwarding_config(self, input: Option<ForwardingConfig>) -> Self
The forwarding configuration for the given measurement property.
sourcepub fn get_forwarding_config(&self) -> &Option<ForwardingConfig>
pub fn get_forwarding_config(&self) -> &Option<ForwardingConfig>
The forwarding configuration for the given measurement property.
sourcepub fn build(self) -> MeasurementProcessingConfig
pub fn build(self) -> MeasurementProcessingConfig
Consumes the builder and constructs a MeasurementProcessingConfig.
Trait Implementations§
source§impl Clone for MeasurementProcessingConfigBuilder
impl Clone for MeasurementProcessingConfigBuilder
source§fn clone(&self) -> MeasurementProcessingConfigBuilder
fn clone(&self) -> MeasurementProcessingConfigBuilder
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 MeasurementProcessingConfigBuilder
impl Default for MeasurementProcessingConfigBuilder
source§fn default() -> MeasurementProcessingConfigBuilder
fn default() -> MeasurementProcessingConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MeasurementProcessingConfigBuilder
impl PartialEq for MeasurementProcessingConfigBuilder
source§fn eq(&self, other: &MeasurementProcessingConfigBuilder) -> bool
fn eq(&self, other: &MeasurementProcessingConfigBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MeasurementProcessingConfigBuilder
Auto Trait Implementations§
impl Freeze for MeasurementProcessingConfigBuilder
impl RefUnwindSafe for MeasurementProcessingConfigBuilder
impl Send for MeasurementProcessingConfigBuilder
impl Sync for MeasurementProcessingConfigBuilder
impl Unpin for MeasurementProcessingConfigBuilder
impl UnwindSafe for MeasurementProcessingConfigBuilder
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.