pub enum ScopeType {
Root,
Subquery,
DerivedTable,
Cte,
Union,
Udtf,
}Expand description
The kind of scope a query fragment lives in.
Variants§
Root
The outermost query.
Subquery
A scalar or lateral subquery in a WHERE / SELECT / HAVING expression.
DerivedTable
A derived table (subquery in FROM).
Cte
A CTE definition (WITH name AS (...)).
Union
One branch of a UNION / INTERSECT / EXCEPT.
Udtf
A user-defined table function (UDTF) / LATERAL.
Trait Implementations§
impl Copy for ScopeType
impl Eq for ScopeType
impl StructuralPartialEq for ScopeType
Auto Trait Implementations§
impl Freeze for ScopeType
impl RefUnwindSafe for ScopeType
impl Send for ScopeType
impl Sync for ScopeType
impl Unpin for ScopeType
impl UnsafeUnpin for ScopeType
impl UnwindSafe for ScopeType
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