#[non_exhaustive]pub struct TimeSeriesServiceStatisticsBuilder { /* private fields */ }
Expand description
A builder for TimeSeriesServiceStatistics
.
Implementations§
source§impl TimeSeriesServiceStatisticsBuilder
impl TimeSeriesServiceStatisticsBuilder
sourcepub fn timestamp(self, input: DateTime) -> Self
pub fn timestamp(self, input: DateTime) -> Self
Timestamp of the window for which statistics are aggregated.
sourcepub fn set_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_timestamp(self, input: Option<DateTime>) -> Self
Timestamp of the window for which statistics are aggregated.
sourcepub fn get_timestamp(&self) -> &Option<DateTime>
pub fn get_timestamp(&self) -> &Option<DateTime>
Timestamp of the window for which statistics are aggregated.
sourcepub fn edge_summary_statistics(self, input: EdgeStatistics) -> Self
pub fn edge_summary_statistics(self, input: EdgeStatistics) -> Self
Response statistics for an edge.
sourcepub fn set_edge_summary_statistics(self, input: Option<EdgeStatistics>) -> Self
pub fn set_edge_summary_statistics(self, input: Option<EdgeStatistics>) -> Self
Response statistics for an edge.
sourcepub fn get_edge_summary_statistics(&self) -> &Option<EdgeStatistics>
pub fn get_edge_summary_statistics(&self) -> &Option<EdgeStatistics>
Response statistics for an edge.
sourcepub fn service_summary_statistics(self, input: ServiceStatistics) -> Self
pub fn service_summary_statistics(self, input: ServiceStatistics) -> Self
Response statistics for a service.
sourcepub fn set_service_summary_statistics(
self,
input: Option<ServiceStatistics>,
) -> Self
pub fn set_service_summary_statistics( self, input: Option<ServiceStatistics>, ) -> Self
Response statistics for a service.
sourcepub fn get_service_summary_statistics(&self) -> &Option<ServiceStatistics>
pub fn get_service_summary_statistics(&self) -> &Option<ServiceStatistics>
Response statistics for a service.
sourcepub fn service_forecast_statistics(self, input: ForecastStatistics) -> Self
pub fn service_forecast_statistics(self, input: ForecastStatistics) -> Self
The forecasted high and low fault count values.
sourcepub fn set_service_forecast_statistics(
self,
input: Option<ForecastStatistics>,
) -> Self
pub fn set_service_forecast_statistics( self, input: Option<ForecastStatistics>, ) -> Self
The forecasted high and low fault count values.
sourcepub fn get_service_forecast_statistics(&self) -> &Option<ForecastStatistics>
pub fn get_service_forecast_statistics(&self) -> &Option<ForecastStatistics>
The forecasted high and low fault count values.
sourcepub fn response_time_histogram(self, input: HistogramEntry) -> Self
pub fn response_time_histogram(self, input: HistogramEntry) -> Self
Appends an item to response_time_histogram
.
To override the contents of this collection use set_response_time_histogram
.
The response time histogram for the selected entities.
sourcepub fn set_response_time_histogram(
self,
input: Option<Vec<HistogramEntry>>,
) -> Self
pub fn set_response_time_histogram( self, input: Option<Vec<HistogramEntry>>, ) -> Self
The response time histogram for the selected entities.
sourcepub fn get_response_time_histogram(&self) -> &Option<Vec<HistogramEntry>>
pub fn get_response_time_histogram(&self) -> &Option<Vec<HistogramEntry>>
The response time histogram for the selected entities.
sourcepub fn build(self) -> TimeSeriesServiceStatistics
pub fn build(self) -> TimeSeriesServiceStatistics
Consumes the builder and constructs a TimeSeriesServiceStatistics
.
Trait Implementations§
source§impl Clone for TimeSeriesServiceStatisticsBuilder
impl Clone for TimeSeriesServiceStatisticsBuilder
source§fn clone(&self) -> TimeSeriesServiceStatisticsBuilder
fn clone(&self) -> TimeSeriesServiceStatisticsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TimeSeriesServiceStatisticsBuilder
impl Default for TimeSeriesServiceStatisticsBuilder
source§fn default() -> TimeSeriesServiceStatisticsBuilder
fn default() -> TimeSeriesServiceStatisticsBuilder
source§impl PartialEq for TimeSeriesServiceStatisticsBuilder
impl PartialEq for TimeSeriesServiceStatisticsBuilder
source§fn eq(&self, other: &TimeSeriesServiceStatisticsBuilder) -> bool
fn eq(&self, other: &TimeSeriesServiceStatisticsBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for TimeSeriesServiceStatisticsBuilder
Auto Trait Implementations§
impl Freeze for TimeSeriesServiceStatisticsBuilder
impl RefUnwindSafe for TimeSeriesServiceStatisticsBuilder
impl Send for TimeSeriesServiceStatisticsBuilder
impl Sync for TimeSeriesServiceStatisticsBuilder
impl Unpin for TimeSeriesServiceStatisticsBuilder
impl UnwindSafe for TimeSeriesServiceStatisticsBuilder
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
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)
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>
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>
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 more