Struct aws_sdk_xray::model::SamplingStatisticsDocument
source · #[non_exhaustive]pub struct SamplingStatisticsDocument { /* private fields */ }
Expand description
Request sampling results for a single rule from a service. Results are for the last 10 seconds unless the service has been assigned a longer reporting interval after a previous call to GetSamplingTargets.
Implementations§
source§impl SamplingStatisticsDocument
impl SamplingStatisticsDocument
sourcepub fn request_count(&self) -> i32
pub fn request_count(&self) -> i32
The number of requests that matched the rule.
sourcepub fn sampled_count(&self) -> i32
pub fn sampled_count(&self) -> i32
The number of requests recorded.
sourcepub fn borrow_count(&self) -> i32
pub fn borrow_count(&self) -> i32
The number of requests recorded with borrowed reservoir quota.
source§impl SamplingStatisticsDocument
impl SamplingStatisticsDocument
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SamplingStatisticsDocument
.
Trait Implementations§
source§impl Clone for SamplingStatisticsDocument
impl Clone for SamplingStatisticsDocument
source§fn clone(&self) -> SamplingStatisticsDocument
fn clone(&self) -> SamplingStatisticsDocument
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 Debug for SamplingStatisticsDocument
impl Debug for SamplingStatisticsDocument
source§impl PartialEq<SamplingStatisticsDocument> for SamplingStatisticsDocument
impl PartialEq<SamplingStatisticsDocument> for SamplingStatisticsDocument
source§fn eq(&self, other: &SamplingStatisticsDocument) -> bool
fn eq(&self, other: &SamplingStatisticsDocument) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.