pub enum SourceKind {
Root,
Table,
DerivedTable,
Cte,
Virtual,
Unknown,
}Expand description
Semantic kind of a source registered in a scope.
Variants§
Root
Root query or statement context
Table
Physical table source
DerivedTable
Derived table/subquery source
Cte
Common Table Expression source
Virtual
Virtual table source such as UNNEST / UDTF
Unknown
Unresolved or synthetic fallback source
Trait Implementations§
Source§impl Clone for SourceKind
impl Clone for SourceKind
Source§fn clone(&self) -> SourceKind
fn clone(&self) -> SourceKind
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 SourceKind
Source§impl Debug for SourceKind
impl Debug for SourceKind
Source§impl Default for SourceKind
impl Default for SourceKind
Source§impl<'de> Deserialize<'de> for SourceKind
impl<'de> Deserialize<'de> for SourceKind
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 Eq for SourceKind
Source§impl PartialEq for SourceKind
impl PartialEq for SourceKind
Source§fn eq(&self, other: &SourceKind) -> bool
fn eq(&self, other: &SourceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SourceKind
impl Serialize for SourceKind
impl StructuralPartialEq for SourceKind
Auto Trait Implementations§
impl Freeze for SourceKind
impl RefUnwindSafe for SourceKind
impl Send for SourceKind
impl Sync for SourceKind
impl Unpin for SourceKind
impl UnsafeUnpin for SourceKind
impl UnwindSafe for SourceKind
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