Struct glean::DistributionData [−][src]
pub struct DistributionData { pub values: HashMap<u64, u64, RandomState>, pub sum: u64, }
A snapshot of all buckets and the accumulated sum of a distribution.
Fields
values: HashMap<u64, u64, RandomState>
A map containig the bucket index mapped to the accumulated count.
This can contain buckets with a count of 0
.
sum: u64
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]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Auto Trait Implementations
impl RefUnwindSafe for DistributionData
impl RefUnwindSafe for DistributionData
impl Send for DistributionData
impl Send for DistributionData
impl Sync for DistributionData
impl Sync for DistributionData
impl Unpin for DistributionData
impl Unpin for DistributionData
impl UnwindSafe for DistributionData
impl UnwindSafe for DistributionData