#[repr(u16)]pub enum SqlLoweringCode {
Show 17 variants
EntityMismatch = 0,
SelectProjectionShape = 1,
SelectDistinct = 2,
DistinctOrderByProjection = 3,
GlobalAggregateProjection = 4,
GlobalAggregateGroupBy = 5,
SelectGroupByShape = 6,
GroupedProjectionExplicitListRequired = 7,
GroupedProjectionAggregateRequired = 8,
GroupedProjectionNonGroupField = 9,
GroupedProjectionScalarAfterAggregate = 10,
HavingRequiresGroupBy = 11,
SelectHavingShape = 12,
AggregateInputExpressions = 13,
WhereExpressionShape = 14,
ParameterPlacement = 15,
SqlDdlExecutionUnsupported = 16,
}Expand description
SqlLoweringCode
Compact SQL lowering rejection identifier used after parsing succeeds but before a statement becomes canonical query intent.
Variants§
EntityMismatch = 0
SelectProjectionShape = 1
SelectDistinct = 2
DistinctOrderByProjection = 3
GlobalAggregateProjection = 4
GlobalAggregateGroupBy = 5
SelectGroupByShape = 6
GroupedProjectionExplicitListRequired = 7
GroupedProjectionAggregateRequired = 8
GroupedProjectionNonGroupField = 9
GroupedProjectionScalarAfterAggregate = 10
HavingRequiresGroupBy = 11
SelectHavingShape = 12
AggregateInputExpressions = 13
WhereExpressionShape = 14
ParameterPlacement = 15
SqlDdlExecutionUnsupported = 16
Trait Implementations§
Source§impl Clone for SqlLoweringCode
impl Clone for SqlLoweringCode
Source§fn clone(&self) -> SqlLoweringCode
fn clone(&self) -> SqlLoweringCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SqlLoweringCode
Source§impl Debug for SqlLoweringCode
impl Debug for SqlLoweringCode
impl Eq for SqlLoweringCode
Source§impl Hash for SqlLoweringCode
impl Hash for SqlLoweringCode
Source§impl PartialEq for SqlLoweringCode
impl PartialEq for SqlLoweringCode
Source§fn eq(&self, other: &SqlLoweringCode) -> bool
fn eq(&self, other: &SqlLoweringCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SqlLoweringCode
Auto Trait Implementations§
impl Freeze for SqlLoweringCode
impl RefUnwindSafe for SqlLoweringCode
impl Send for SqlLoweringCode
impl Sync for SqlLoweringCode
impl Unpin for SqlLoweringCode
impl UnsafeUnpin for SqlLoweringCode
impl UnwindSafe for SqlLoweringCode
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