pub enum SortMode {
Min,
Max,
Avg,
Sum,
Median,
}Expand description
How a multi-valued field collapses to one sort value.
Variants§
Min
Smallest value.
Max
Largest value.
Avg
Arithmetic mean (numeric fields).
Sum
Sum (numeric fields).
Median
Median (numeric fields).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SortMode
impl RefUnwindSafe for SortMode
impl Send for SortMode
impl Sync for SortMode
impl Unpin for SortMode
impl UnsafeUnpin for SortMode
impl UnwindSafe for SortMode
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