pub struct QuantileEstimate {
pub quantile: f64,
pub value: f64,
pub rank_lower: f64,
pub rank_upper: f64,
pub observations: u64,
pub retained_entries: usize,
pub exact: bool,
}Expand description
One quantile estimate together with its retained rank evidence.
Fields§
§quantile: f64Requested quantile in 0.0..=1.0.
value: f64Estimated value.
rank_lower: f64Inclusive lower bound on the value’s zero-based normalized rank.
rank_upper: f64Inclusive upper bound on the value’s zero-based normalized rank.
observations: u64Number of observations represented by the sketch.
retained_entries: usizeNumber of retained exact values or summary entries.
exact: boolWhether this estimate used the exact small-data reference path.
Trait Implementations§
Source§impl Clone for QuantileEstimate
impl Clone for QuantileEstimate
Source§fn clone(&self) -> QuantileEstimate
fn clone(&self) -> QuantileEstimate
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 Copy for QuantileEstimate
Source§impl Debug for QuantileEstimate
impl Debug for QuantileEstimate
Source§impl PartialEq for QuantileEstimate
impl PartialEq for QuantileEstimate
impl StructuralPartialEq for QuantileEstimate
Auto Trait Implementations§
impl Freeze for QuantileEstimate
impl RefUnwindSafe for QuantileEstimate
impl Send for QuantileEstimate
impl Sync for QuantileEstimate
impl Unpin for QuantileEstimate
impl UnsafeUnpin for QuantileEstimate
impl UnwindSafe for QuantileEstimate
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