pub enum ScopeType {
Root,
Subquery,
DerivedTable,
Cte,
SetOperation,
Udtf,
}Expand description
Type of scope in a SQL query
Variants§
Root
Root scope of the query
Subquery
Subquery scope (e.g., WHERE x IN (SELECT …))
DerivedTable
Derived table scope (e.g., FROM (SELECT …) AS t)
Cte
Common Table Expression scope
SetOperation
Union/Intersect/Except scope
Udtf
User-Defined Table Function scope
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ScopeType
impl<'de> Deserialize<'de> for ScopeType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 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