Struct glean_core::metrics::DistributionData [−][src]
Expand description
A snapshot of all buckets and the accumulated sum of a distribution.
Fields
values: HashMap<u64, u64>
Expand description
A map containig the bucket index mapped to the accumulated count.
This can contain buckets with a count of 0
.
sum: u64
Expand description
The accumulated sum of all the samples in the distribution.
Trait Implementations
impl Debug for DistributionData
[src]
impl Debug for DistributionData
[src]impl Serialize for DistributionData
[src]
impl Serialize for DistributionData
[src]Auto Trait Implementations
impl RefUnwindSafe for DistributionData
impl Send for DistributionData
impl Sync for DistributionData
impl Unpin for DistributionData
impl UnwindSafe for DistributionData
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> EncodableKey for T where
T: Serialize,
[src]
impl<T> EncodableKey for T where
T: Serialize,
[src]