#[non_exhaustive]pub enum DistinctMode {
Ordered,
Grouped,
Distinct,
DistinctOrdered,
}Expand description
Determine if a virtual table query is DISTINCT
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ordered
This is the default expectation.
Grouped
This mode is used when the query planner is doing a GROUP BY.
Distinct
This mode is used for a DISTINCT query.
DistinctOrdered
This mode is used for queries that have both DISTINCT and ORDER BY clauses.
Trait Implementations§
Source§impl Debug for DistinctMode
impl Debug for DistinctMode
impl Eq for DistinctMode
Source§impl PartialEq for DistinctMode
impl PartialEq for DistinctMode
impl StructuralPartialEq for DistinctMode
Auto Trait Implementations§
impl Forget for DistinctMode
impl Freeze for DistinctMode
impl Move for DistinctMode
impl RefUnwindSafe for DistinctMode
impl Send for DistinctMode
impl Sync for DistinctMode
impl Unpin for DistinctMode
impl UnsafeUnpin for DistinctMode
impl UnwindSafe for DistinctMode
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