pub enum GroupKey {
Unqualified(String),
Qualified {
alias: String,
field: String,
},
}Expand description
A single GROUP BY key.
Unqualified covers the classic single-table form group .status, whose
field name is resolved against the input columns by an exact match first
and a unique .field suffix match second (so it also works over a join
whose output columns are named alias.field).
Qualified covers the join form group u.status; it resolves exactly to
the alias.field output column and never suffix-matches.
Variants§
Implementations§
Trait Implementations§
impl Eq for GroupKey
impl StructuralPartialEq for GroupKey
Auto Trait Implementations§
impl Freeze for GroupKey
impl RefUnwindSafe for GroupKey
impl Send for GroupKey
impl Sync for GroupKey
impl Unpin for GroupKey
impl UnsafeUnpin for GroupKey
impl UnwindSafe for GroupKey
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