pub struct Bucket {
pub upper_bound: BucketBound,
pub cumulative_count: u64,
pub exemplar: Option<Exemplar>,
}Expand description
One cumulative bucket projected from a HistogramValue for
exposition. Per spec §5.3, the final bucket MUST have
upper_bound = +Inf.
Fields§
§upper_bound: BucketBound§cumulative_count: u64§exemplar: Option<Exemplar>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bucket
impl RefUnwindSafe for Bucket
impl Send for Bucket
impl Sync for Bucket
impl Unpin for Bucket
impl UnsafeUnpin for Bucket
impl UnwindSafe for Bucket
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