pub struct SqlColumnUseFact {
pub table: String,
pub column: String,
pub candidate_tables: Option<Vec<String>>,
pub clause: SqlColumnClause,
pub line: usize,
}Expand description
A bare column reference resolved to a base relation when possible.
table is empty when the name is unqualified and more than one base
relation is in scope. The rule may still assign it from schema facts.
Fields§
§table: String§column: String§candidate_tables: Option<Vec<String>>Base relations visible at this expression; None when a CTE or derived relation prevents ownership proof.
clause: SqlColumnClause§line: usizeTrait Implementations§
Source§impl Clone for SqlColumnUseFact
impl Clone for SqlColumnUseFact
Source§impl Debug for SqlColumnUseFact
impl Debug for SqlColumnUseFact
impl Eq for SqlColumnUseFact
Source§impl PartialEq for SqlColumnUseFact
impl PartialEq for SqlColumnUseFact
impl StructuralPartialEq for SqlColumnUseFact
Auto Trait Implementations§
impl Forget for SqlColumnUseFact
impl Freeze for SqlColumnUseFact
impl Move for SqlColumnUseFact
impl RefUnwindSafe for SqlColumnUseFact
impl Send for SqlColumnUseFactwhere
RawVecInner: Send,
impl Sync for SqlColumnUseFactwhere
RawVecInner: Sync,
impl Unpin for SqlColumnUseFact
impl UnsafeUnpin for SqlColumnUseFactwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for SqlColumnUseFactwhere
RawVecInner: UnwindSafe,
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> 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