Struct partiql_ast::ast::GroupByExpr
source · pub struct GroupByExpr {
pub strategy: GroupingStrategy,
pub keys: Vec<AstNode<GroupKey>>,
pub group_as_alias: Option<SymbolPrimitive>,
}
Expand description
GROUP BY <grouping_strategy> <group_key>[, <group_key>]… [AS
Fields§
§strategy: GroupingStrategy
§keys: Vec<AstNode<GroupKey>>
§group_as_alias: Option<SymbolPrimitive>
Trait Implementations§
source§impl Clone for GroupByExpr
impl Clone for GroupByExpr
source§fn clone(&self) -> GroupByExpr
fn clone(&self) -> GroupByExpr
Returns a copy of the value. Read more
1.0.0 · 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 GroupByExpr
impl Debug for GroupByExpr
source§impl PartialEq<GroupByExpr> for GroupByExpr
impl PartialEq<GroupByExpr> for GroupByExpr
source§fn eq(&self, other: &GroupByExpr) -> bool
fn eq(&self, other: &GroupByExpr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Visit for GroupByExpr
impl Visit for GroupByExpr
impl StructuralPartialEq for GroupByExpr
Auto Trait Implementations§
impl RefUnwindSafe for GroupByExpr
impl Send for GroupByExpr
impl Sync for GroupByExpr
impl Unpin for GroupByExpr
impl UnwindSafe for GroupByExpr
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