#[non_exhaustive]pub struct RequestImpactStatisticsBuilder { /* private fields */ }
Expand description
A builder for RequestImpactStatistics
.
Implementations§
source§impl RequestImpactStatisticsBuilder
impl RequestImpactStatisticsBuilder
sourcepub fn fault_count(self, input: i64) -> Self
pub fn fault_count(self, input: i64) -> Self
The number of requests that have resulted in a fault,
sourcepub fn set_fault_count(self, input: Option<i64>) -> Self
pub fn set_fault_count(self, input: Option<i64>) -> Self
The number of requests that have resulted in a fault,
sourcepub fn get_fault_count(&self) -> &Option<i64>
pub fn get_fault_count(&self) -> &Option<i64>
The number of requests that have resulted in a fault,
sourcepub fn set_ok_count(self, input: Option<i64>) -> Self
pub fn set_ok_count(self, input: Option<i64>) -> Self
The number of successful requests.
sourcepub fn get_ok_count(&self) -> &Option<i64>
pub fn get_ok_count(&self) -> &Option<i64>
The number of successful requests.
sourcepub fn total_count(self, input: i64) -> Self
pub fn total_count(self, input: i64) -> Self
The total number of requests to the service.
sourcepub fn set_total_count(self, input: Option<i64>) -> Self
pub fn set_total_count(self, input: Option<i64>) -> Self
The total number of requests to the service.
sourcepub fn get_total_count(&self) -> &Option<i64>
pub fn get_total_count(&self) -> &Option<i64>
The total number of requests to the service.
sourcepub fn build(self) -> RequestImpactStatistics
pub fn build(self) -> RequestImpactStatistics
Consumes the builder and constructs a RequestImpactStatistics
.
Trait Implementations§
source§impl Clone for RequestImpactStatisticsBuilder
impl Clone for RequestImpactStatisticsBuilder
source§fn clone(&self) -> RequestImpactStatisticsBuilder
fn clone(&self) -> RequestImpactStatisticsBuilder
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 RequestImpactStatisticsBuilder
impl Default for RequestImpactStatisticsBuilder
source§fn default() -> RequestImpactStatisticsBuilder
fn default() -> RequestImpactStatisticsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RequestImpactStatisticsBuilder
impl PartialEq for RequestImpactStatisticsBuilder
source§fn eq(&self, other: &RequestImpactStatisticsBuilder) -> bool
fn eq(&self, other: &RequestImpactStatisticsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RequestImpactStatisticsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RequestImpactStatisticsBuilder
impl Send for RequestImpactStatisticsBuilder
impl Sync for RequestImpactStatisticsBuilder
impl Unpin for RequestImpactStatisticsBuilder
impl UnwindSafe for RequestImpactStatisticsBuilder
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>
Creates a shared type from an unshared type.