pub enum CalculationType {
Show 25 variants
Count,
CountDistinct,
Avg,
StdDev,
Max,
Min,
Sum,
Median,
CovarPop {
x: Option<Expr>,
y: Option<Expr>,
},
CovarSamp {
x: Option<Expr>,
y: Option<Expr>,
},
FirstValue(Option<Vec<SortExpr>>),
LastValue,
NthValue(i64, Option<Vec<SortExpr>>),
RegrAvgX {
x: Option<Expr>,
y: Option<Expr>,
},
RegrAvgY {
x: Option<Expr>,
y: Option<Expr>,
},
RegrCount {
x: Option<Expr>,
y: Option<Expr>,
},
RegrIntercept {
x: Option<Expr>,
y: Option<Expr>,
},
RegrR2 {
x: Option<Expr>,
y: Option<Expr>,
},
RegrSlope {
x: Option<Expr>,
y: Option<Expr>,
},
RegrSxx {
x: Option<Expr>,
y: Option<Expr>,
},
RegrSxy {
x: Option<Expr>,
y: Option<Expr>,
},
RegrSyy {
x: Option<Expr>,
y: Option<Expr>,
},
StddevPop,
VarPop,
VarSamp,
}Variants§
Count
CountDistinct
Avg
StdDev
Max
Min
Sum
Median
CovarPop
CovarSamp
FirstValue(Option<Vec<SortExpr>>)
LastValue
NthValue(i64, Option<Vec<SortExpr>>)
RegrAvgX
RegrAvgY
RegrCount
RegrIntercept
RegrR2
RegrSlope
RegrSxx
RegrSxy
RegrSyy
StddevPop
VarPop
VarSamp
Trait Implementations§
Source§impl Clone for CalculationType
impl Clone for CalculationType
Source§fn clone(&self) -> CalculationType
fn clone(&self) -> CalculationType
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 moreSource§impl Debug for CalculationType
impl Debug for CalculationType
Auto Trait Implementations§
impl !RefUnwindSafe for CalculationType
impl !UnwindSafe for CalculationType
impl Freeze for CalculationType
impl Send for CalculationType
impl Sync for CalculationType
impl Unpin for CalculationType
impl UnsafeUnpin for CalculationType
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more