pub struct CteAnalysis {
pub name: String,
pub cte_type: String,
pub start_line: usize,
pub end_line: usize,
pub start_offset: usize,
pub end_offset: usize,
pub has_star: bool,
pub columns: Vec<String>,
pub web_config: Option<WebCteConfig>,
}Expand description
CTE analysis information
Fields§
§name: StringCTE name
cte_type: StringCTE type: “Standard”, “WEB”, “Recursive”
start_line: usizeStart line (will be populated when parser tracks positions)
end_line: usizeEnd line (will be populated when parser tracks positions)
start_offset: usizeStart byte offset in query
end_offset: usizeEnd byte offset in query
has_star: boolWhether this CTE contains SELECT *
columns: Vec<String>Columns produced by this CTE (if known)
web_config: Option<WebCteConfig>WEB CTE configuration (if applicable)
Trait Implementations§
Source§impl Clone for CteAnalysis
impl Clone for CteAnalysis
Source§fn clone(&self) -> CteAnalysis
fn clone(&self) -> CteAnalysis
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CteAnalysis
impl Debug for CteAnalysis
Source§impl<'de> Deserialize<'de> for CteAnalysis
impl<'de> Deserialize<'de> for CteAnalysis
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
Auto Trait Implementations§
impl Freeze for CteAnalysis
impl RefUnwindSafe for CteAnalysis
impl Send for CteAnalysis
impl Sync for CteAnalysis
impl Unpin for CteAnalysis
impl UnwindSafe for CteAnalysis
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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