pub struct NativeHistogram<'a> {
pub schema: i32,
pub zero_threshold: f64,
pub zero_count: u64,
pub negative: NativeHistogramBuckets<'a>,
pub positive: NativeHistogramBuckets<'a>,
pub created: Option<SystemTime>,
}Expand description
Native histogram fields shared by encoders.
Fields§
§schema: i32Native histogram schema.
zero_threshold: f64Breadth of the zero bucket.
zero_count: u64Count in the zero bucket.
negative: NativeHistogramBuckets<'a>Negative sparse buckets.
positive: NativeHistogramBuckets<'a>Positive sparse buckets.
created: Option<SystemTime>Native histogram creation timestamp.
Trait Implementations§
Source§impl<'a> Clone for NativeHistogram<'a>
impl<'a> Clone for NativeHistogram<'a>
Source§fn clone(&self) -> NativeHistogram<'a>
fn clone(&self) -> NativeHistogram<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for NativeHistogram<'a>
Auto Trait Implementations§
impl<'a> Freeze for NativeHistogram<'a>
impl<'a> RefUnwindSafe for NativeHistogram<'a>
impl<'a> Send for NativeHistogram<'a>
impl<'a> Sync for NativeHistogram<'a>
impl<'a> Unpin for NativeHistogram<'a>
impl<'a> UnsafeUnpin for NativeHistogram<'a>
impl<'a> UnwindSafe for NativeHistogram<'a>
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