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
sourceimpl 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.
sourceimpl SamplingStatisticsDocument
impl SamplingStatisticsDocument
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SamplingStatisticsDocument
.
Trait Implementations
sourceimpl Clone for SamplingStatisticsDocument
impl Clone for SamplingStatisticsDocument
sourcefn clone(&self) -> SamplingStatisticsDocument
fn clone(&self) -> SamplingStatisticsDocument
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SamplingStatisticsDocument
impl Debug for SamplingStatisticsDocument
sourceimpl PartialEq<SamplingStatisticsDocument> for SamplingStatisticsDocument
impl PartialEq<SamplingStatisticsDocument> for SamplingStatisticsDocument
sourcefn eq(&self, other: &SamplingStatisticsDocument) -> bool
fn eq(&self, other: &SamplingStatisticsDocument) -> bool
impl StructuralPartialEq for SamplingStatisticsDocument
Auto Trait Implementations
impl RefUnwindSafe for SamplingStatisticsDocument
impl Send for SamplingStatisticsDocument
impl Sync for SamplingStatisticsDocument
impl Unpin for SamplingStatisticsDocument
impl UnwindSafe for SamplingStatisticsDocument
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more