pub enum AggregateExpr {
GroupKey(Expr),
CountAll,
Count(Expr),
Sum(Expr),
Avg(Expr),
Min(Expr),
Max(Expr),
}Variants§
Implementations§
Source§impl AggregateExpr
impl AggregateExpr
pub fn group_key(expr: impl Into<Expr>) -> Self
pub const fn count_all() -> Self
pub fn count(expr: impl Into<Expr>) -> Self
pub fn sum(expr: impl Into<Expr>) -> Self
pub fn avg(expr: impl Into<Expr>) -> Self
pub fn min(expr: impl Into<Expr>) -> Self
pub fn max(expr: impl Into<Expr>) -> Self
Trait Implementations§
Source§impl Clone for AggregateExpr
impl Clone for AggregateExpr
Source§fn clone(&self) -> AggregateExpr
fn clone(&self) -> AggregateExpr
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 AggregateExpr
impl Debug for AggregateExpr
Source§impl PartialEq for AggregateExpr
impl PartialEq for AggregateExpr
Source§fn eq(&self, other: &AggregateExpr) -> bool
fn eq(&self, other: &AggregateExpr) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AggregateExpr
Auto Trait Implementations§
impl Freeze for AggregateExpr
impl RefUnwindSafe for AggregateExpr
impl Send for AggregateExpr
impl Sync for AggregateExpr
impl Unpin for AggregateExpr
impl UnsafeUnpin for AggregateExpr
impl UnwindSafe for AggregateExpr
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