pub enum TargetColumn {
Resolved(ResolvedColumn),
Partial {
source_name: Option<String>,
column_name: Option<String>,
column_type: Type,
policies: Vec<ColumnPolicyKind>,
},
}Expand description
Represents target column information for evaluation
Variants§
Resolved(ResolvedColumn)
Fully resolved column with complete source information
Partial
Partial column information with type, policies, and optional names for error reporting
Implementations§
Source§impl TargetColumn
impl TargetColumn
Sourcepub fn column_type(&self) -> Type
pub fn column_type(&self) -> Type
Get the column type
Sourcepub fn policies(&self) -> Vec<ColumnPolicyKind>
pub fn policies(&self) -> Vec<ColumnPolicyKind>
Get the column policies
Sourcepub fn to_number_descriptor(&self) -> Option<NumberOfRangeColumnDescriptor<'_>>
pub fn to_number_descriptor(&self) -> Option<NumberOfRangeColumnDescriptor<'_>>
Convert to NumberOfRangeColumnDescriptor for error reporting
Trait Implementations§
Source§impl Clone for TargetColumn
impl Clone for TargetColumn
Source§fn clone(&self) -> TargetColumn
fn clone(&self) -> TargetColumn
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 moreAuto Trait Implementations§
impl Freeze for TargetColumn
impl RefUnwindSafe for TargetColumn
impl Send for TargetColumn
impl Sync for TargetColumn
impl Unpin for TargetColumn
impl UnsafeUnpin for TargetColumn
impl UnwindSafe for TargetColumn
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