Struct sqruff_lib::core::dialects::common::ColumnAliasInfo
source · pub struct ColumnAliasInfo {
pub alias_identifier_name: String,
pub aliased_segment: ErasedSegment,
pub column_reference_segments: Vec<ErasedSegment>,
}
Expand description
Details about a column alias.
Fields§
§alias_identifier_name: String
§aliased_segment: ErasedSegment
§column_reference_segments: Vec<ErasedSegment>
Trait Implementations§
source§impl Clone for ColumnAliasInfo
impl Clone for ColumnAliasInfo
source§fn clone(&self) -> ColumnAliasInfo
fn clone(&self) -> ColumnAliasInfo
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 Freeze for ColumnAliasInfo
impl !RefUnwindSafe for ColumnAliasInfo
impl Send for ColumnAliasInfo
impl Sync for ColumnAliasInfo
impl Unpin for ColumnAliasInfo
impl !UnwindSafe for ColumnAliasInfo
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