#[non_exhaustive]pub struct StatisticsConfigurationBuilder { /* private fields */ }
Expand description
A builder for StatisticsConfiguration
.
Implementations§
source§impl StatisticsConfigurationBuilder
impl StatisticsConfigurationBuilder
sourcepub fn included_statistics(self, input: impl Into<String>) -> Self
pub fn included_statistics(self, input: impl Into<String>) -> Self
Appends an item to included_statistics
.
To override the contents of this collection use set_included_statistics
.
List of included evaluations. When the list is undefined, all supported evaluations will be included.
sourcepub fn set_included_statistics(self, input: Option<Vec<String>>) -> Self
pub fn set_included_statistics(self, input: Option<Vec<String>>) -> Self
List of included evaluations. When the list is undefined, all supported evaluations will be included.
sourcepub fn get_included_statistics(&self) -> &Option<Vec<String>>
pub fn get_included_statistics(&self) -> &Option<Vec<String>>
List of included evaluations. When the list is undefined, all supported evaluations will be included.
sourcepub fn overrides(self, input: StatisticOverride) -> Self
pub fn overrides(self, input: StatisticOverride) -> Self
Appends an item to overrides
.
To override the contents of this collection use set_overrides
.
List of overrides for evaluations.
sourcepub fn set_overrides(self, input: Option<Vec<StatisticOverride>>) -> Self
pub fn set_overrides(self, input: Option<Vec<StatisticOverride>>) -> Self
List of overrides for evaluations.
sourcepub fn get_overrides(&self) -> &Option<Vec<StatisticOverride>>
pub fn get_overrides(&self) -> &Option<Vec<StatisticOverride>>
List of overrides for evaluations.
sourcepub fn build(self) -> StatisticsConfiguration
pub fn build(self) -> StatisticsConfiguration
Consumes the builder and constructs a StatisticsConfiguration
.
Trait Implementations§
source§impl Clone for StatisticsConfigurationBuilder
impl Clone for StatisticsConfigurationBuilder
source§fn clone(&self) -> StatisticsConfigurationBuilder
fn clone(&self) -> StatisticsConfigurationBuilder
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 StatisticsConfigurationBuilder
impl Default for StatisticsConfigurationBuilder
source§fn default() -> StatisticsConfigurationBuilder
fn default() -> StatisticsConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StatisticsConfigurationBuilder
impl PartialEq for StatisticsConfigurationBuilder
source§fn eq(&self, other: &StatisticsConfigurationBuilder) -> bool
fn eq(&self, other: &StatisticsConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StatisticsConfigurationBuilder
Auto Trait Implementations§
impl Freeze for StatisticsConfigurationBuilder
impl RefUnwindSafe for StatisticsConfigurationBuilder
impl Send for StatisticsConfigurationBuilder
impl Sync for StatisticsConfigurationBuilder
impl Unpin for StatisticsConfigurationBuilder
impl UnwindSafe for StatisticsConfigurationBuilder
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.