pub enum GroupingSet {
Empty,
Simple(Vec<usize>),
Rollup(Vec<GroupingSet>),
Cube(Vec<GroupingSet>),
Sets(Vec<GroupingSet>),
}Expand description
A grouping set of GROUP BY, as GroupingSet after transformGroupClause. A simple set names its items by the index of their targets in crate::Query::targets.
Variants§
Empty
().
Simple(Vec<usize>)
A list of items.
Rollup(Vec<GroupingSet>)
ROLLUP, of simple sets.
Cube(Vec<GroupingSet>)
CUBE, of simple sets.
Sets(Vec<GroupingSet>)
GROUPING SETS, of sets of the other kinds.
Trait Implementations§
Source§impl Clone for GroupingSet
impl Clone for GroupingSet
Source§impl Debug for GroupingSet
impl Debug for GroupingSet
impl Eq for GroupingSet
Source§impl PartialEq for GroupingSet
impl PartialEq for GroupingSet
impl StructuralPartialEq for GroupingSet
Auto Trait Implementations§
impl Freeze for GroupingSet
impl RefUnwindSafe for GroupingSet
impl Send for GroupingSet
impl Sync for GroupingSet
impl Unpin for GroupingSet
impl UnsafeUnpin for GroupingSet
impl UnwindSafe for GroupingSet
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