Struct aws_sdk_xray::types::HistogramEntry
source · #[non_exhaustive]pub struct HistogramEntry {
pub value: f64,
pub count: i32,
}
Expand description
An entry in a histogram for a statistic. A histogram maps the range of observed values on the X axis, and the prevalence of each value on the Y axis.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.value: f64
The value of the entry.
count: i32
The prevalence of the entry.
Implementations§
source§impl HistogramEntry
impl HistogramEntry
sourcepub fn builder() -> HistogramEntryBuilder
pub fn builder() -> HistogramEntryBuilder
Creates a new builder-style object to manufacture HistogramEntry
.
Trait Implementations§
source§impl Clone for HistogramEntry
impl Clone for HistogramEntry
source§fn clone(&self) -> HistogramEntry
fn clone(&self) -> HistogramEntry
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 HistogramEntry
impl Debug for HistogramEntry
source§impl PartialEq<HistogramEntry> for HistogramEntry
impl PartialEq<HistogramEntry> for HistogramEntry
source§fn eq(&self, other: &HistogramEntry) -> bool
fn eq(&self, other: &HistogramEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HistogramEntry
Auto Trait Implementations§
impl RefUnwindSafe for HistogramEntry
impl Send for HistogramEntry
impl Sync for HistogramEntry
impl Unpin for HistogramEntry
impl UnwindSafe for HistogramEntry
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