pub struct Aggregate {
pub func: AggFunc,
pub arg: Option<Box<Expr>>,
pub distinct: bool,
pub filter: Option<Box<Expr>>,
}Expand description
An aggregate call: function, argument, DISTINCT and FILTER (WHERE ..).
Fields§
§func: AggFuncFunction.
arg: Option<Box<Expr>>Argument; None means COUNT(*).
distinct: boolAggregate over distinct values only.
filter: Option<Box<Expr>>Only rows matching this predicate contribute.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Aggregate
Auto Trait Implementations§
impl Freeze for Aggregate
impl RefUnwindSafe for Aggregate
impl Send for Aggregate
impl Sync for Aggregate
impl Unpin for Aggregate
impl UnsafeUnpin for Aggregate
impl UnwindSafe for Aggregate
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