Struct opentelemetry_sdk::metrics::data::ExponentialBucket
source · pub struct ExponentialBucket {
pub offset: i32,
pub counts: Vec<u64>,
}
Expand description
A set of bucket counts, encoded in a contiguous array of counts.
Fields§
§offset: i32
The bucket index of the first entry in the counts
vec.
counts: Vec<u64>
A vec where counts[i]
carries the count of the bucket at index offset + i
.
counts[i]
is the count of values greater than base^(offset+i) and less than
or equal to base^(offset+i+1).
Trait Implementations§
source§impl Debug for ExponentialBucket
impl Debug for ExponentialBucket
source§impl PartialEq for ExponentialBucket
impl PartialEq for ExponentialBucket
impl StructuralPartialEq for ExponentialBucket
Auto Trait Implementations§
impl Freeze for ExponentialBucket
impl RefUnwindSafe for ExponentialBucket
impl Send for ExponentialBucket
impl Sync for ExponentialBucket
impl Unpin for ExponentialBucket
impl UnwindSafe for ExponentialBucket
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