Struct sqruff_lib::utils::analysis::query::QueryInner
source · pub struct QueryInner<'me, T> {
pub query_type: QueryType,
pub dialect: &'me Dialect,
pub selectables: Vec<Selectable<'me>>,
pub ctes: AHashMap<String, Query<'me, T>>,
pub parent: Option<Query<'me, T>>,
pub subqueries: Vec<Query<'me, T>>,
pub cte_definition_segment: Option<ErasedSegment>,
pub cte_name_segment: Option<ErasedSegment>,
pub payload: T,
}
Fields§
§query_type: QueryType
§dialect: &'me Dialect
§selectables: Vec<Selectable<'me>>
§ctes: AHashMap<String, Query<'me, T>>
§parent: Option<Query<'me, T>>
§subqueries: Vec<Query<'me, T>>
§cte_definition_segment: Option<ErasedSegment>
§cte_name_segment: Option<ErasedSegment>
§payload: T
Trait Implementations§
source§impl<'me, T: Clone> Clone for QueryInner<'me, T>
impl<'me, T: Clone> Clone for QueryInner<'me, T>
source§fn clone(&self) -> QueryInner<'me, T>
fn clone(&self) -> QueryInner<'me, T>
Returns a copy 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 moreAuto Trait Implementations§
impl<'me, T> Freeze for QueryInner<'me, T>where
T: Freeze,
impl<'me, T> !RefUnwindSafe for QueryInner<'me, T>
impl<'me, T> !Send for QueryInner<'me, T>
impl<'me, T> !Sync for QueryInner<'me, T>
impl<'me, T> Unpin for QueryInner<'me, T>where
T: Unpin,
impl<'me, T> !UnwindSafe for QueryInner<'me, T>
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> 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