pub enum TotalsRowFunction {
Sum,
Average,
Count,
CountNums,
Max,
Min,
StdDev,
Var,
Custom,
}Expand description
A table column’s totals-row aggregate function (ST_TotalsRowFunction).
ST_TotalsRowFunction’s "none" value isn’t modeled as its own variant, same convention as
elsewhere in this crate — Option::None on TableColumn::totals_row_function already expresses
it.
Variants§
Sum
Average
Count
CountNums
Max
Min
StdDev
Var
Custom
A totals-row function this crate doesn’t auto-generate a formula for — pair with
TableColumn::totals_row_formula set to the literal formula text the caller wants written
verbatim.
Trait Implementations§
Source§impl Clone for TotalsRowFunction
impl Clone for TotalsRowFunction
Source§fn clone(&self) -> TotalsRowFunction
fn clone(&self) -> TotalsRowFunction
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 TotalsRowFunction
Source§impl Debug for TotalsRowFunction
impl Debug for TotalsRowFunction
impl Eq for TotalsRowFunction
Source§impl PartialEq for TotalsRowFunction
impl PartialEq for TotalsRowFunction
impl StructuralPartialEq for TotalsRowFunction
Auto Trait Implementations§
impl Freeze for TotalsRowFunction
impl RefUnwindSafe for TotalsRowFunction
impl Send for TotalsRowFunction
impl Sync for TotalsRowFunction
impl Unpin for TotalsRowFunction
impl UnsafeUnpin for TotalsRowFunction
impl UnwindSafe for TotalsRowFunction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.