pub enum SetPlacement {
Show 18 variants
Expanding,
FromFunction,
JoinCondition,
Where,
Having,
Filter,
WindowFrame,
Update,
Limit,
Offset,
Returning,
Values,
MergeWhen,
IndexExpression,
IndexPredicate,
ExecuteParameter,
TriggerWhen,
CallArgument,
}Expand description
The kind of expression under analysis, as PostgreSQL’s check_srf_call_placement distinguishes them by ParseExprKind.
Variants§
Expanding
A target list entry or a clause processed like one: GROUP BY, ORDER BY, DISTINCT ON, a window’s PARTITION BY and ORDER BY, and the single row of INSERT ... VALUES or of a MERGE INSERT action. A set-returning call there expands the rows.
FromFunction
An argument of a function in FROM, which may not itself contain a set-returning call.
JoinCondition
Where
Having
Filter
WindowFrame
A window frame offset.
Update
An UPDATE source or target, including ON CONFLICT DO UPDATE SET and a MERGE UPDATE action.
Limit
Offset
Returning
Values
A row of a multiple-row VALUES list, or of VALUES used as a query or in FROM.
MergeWhen
IndexExpression
An ON CONFLICT inference expression.
IndexPredicate
An ON CONFLICT inference predicate.
ExecuteParameter
TriggerWhen
CallArgument
Implementations§
Trait Implementations§
Source§impl Clone for SetPlacement
impl Clone for SetPlacement
impl Copy for SetPlacement
Source§impl Debug for SetPlacement
impl Debug for SetPlacement
impl Eq for SetPlacement
Source§impl PartialEq for SetPlacement
impl PartialEq for SetPlacement
impl StructuralPartialEq for SetPlacement
Auto Trait Implementations§
impl Freeze for SetPlacement
impl RefUnwindSafe for SetPlacement
impl Send for SetPlacement
impl Sync for SetPlacement
impl Unpin for SetPlacement
impl UnsafeUnpin for SetPlacement
impl UnwindSafe for SetPlacement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more