pub enum NumericReductionKind {
Min,
Max,
Percentile {
p: f64,
},
}Expand description
Phase E-4 numeric reduction kind shared by Min / Max /
Percentile. Kept separate from
NumericAggregateKind (Sum / Avg) so the executor’s
match arms stay narrow.
Variants§
Min
Minimum value in the group.
Max
Maximum value in the group.
Percentile
Nearest-rank percentile at p ∈ [0.0, 1.0].
Trait Implementations§
Source§impl Clone for NumericReductionKind
impl Clone for NumericReductionKind
Source§fn clone(&self) -> NumericReductionKind
fn clone(&self) -> NumericReductionKind
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 NumericReductionKind
Source§impl Debug for NumericReductionKind
impl Debug for NumericReductionKind
Source§impl<'de> Deserialize<'de> for NumericReductionKind
impl<'de> Deserialize<'de> for NumericReductionKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NumericReductionKind
impl PartialEq for NumericReductionKind
Source§fn eq(&self, other: &NumericReductionKind) -> bool
fn eq(&self, other: &NumericReductionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NumericReductionKind
impl Serialize for NumericReductionKind
impl StructuralPartialEq for NumericReductionKind
Auto Trait Implementations§
impl Freeze for NumericReductionKind
impl RefUnwindSafe for NumericReductionKind
impl Send for NumericReductionKind
impl Sync for NumericReductionKind
impl Unpin for NumericReductionKind
impl UnsafeUnpin for NumericReductionKind
impl UnwindSafe for NumericReductionKind
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