pub struct ColumnUseFact {
pub context: ColumnUseContext,
pub scope_path: String,
pub expression_path: String,
pub expression_sql: String,
pub span: Option<QuerySourceSpan>,
pub references: Vec<ColumnUseReferenceFact>,
}Expand description
One containing expression, with references in occurrence order. Paths are deterministic within an analysis, not persistent IDs across SQL edits.
Fields§
§context: ColumnUseContext§scope_path: String§expression_path: String§expression_sql: StringDialect-rendered SQL; not necessarily the original source substring.
span: Option<QuerySourceSpan>§references: Vec<ColumnUseReferenceFact>Trait Implementations§
Source§impl Clone for ColumnUseFact
impl Clone for ColumnUseFact
Source§impl Debug for ColumnUseFact
impl Debug for ColumnUseFact
Source§impl<'de> Deserialize<'de> for ColumnUseFact
impl<'de> Deserialize<'de> for ColumnUseFact
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 ColumnUseFact
impl RefUnwindSafe for ColumnUseFact
impl Send for ColumnUseFact
impl Sync for ColumnUseFact
impl Unpin for ColumnUseFact
impl UnsafeUnpin for ColumnUseFact
impl UnwindSafe for ColumnUseFact
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