pub struct ColumnMetadata {
pub name: Arc<str>,
pub var_path: Arc<str>,
pub logic: Option<LogicId>,
pub literal: Option<Arc<Value>>,
pub dependencies: Arc<[String]>,
pub has_forward_ref: bool,
}Expand description
Pre-compiled column metadata computed at parse time (zero-copy design)
Fields§
§name: Arc<str>Column name (Arc to avoid clones)
var_path: Arc<str>Variable path like “$columnName” (pre-computed)
logic: Option<LogicId>Logic ID if this column has evaluation logic
literal: Option<Arc<Value>>Literal value if no logic (Arc to share across evaluations)
dependencies: Arc<[String]>Variable names this column depends on (e.g., [“$other_col”])
has_forward_ref: boolWhether this column has forward references (computed once)
Implementations§
Trait Implementations§
Source§impl Clone for ColumnMetadata
impl Clone for ColumnMetadata
Source§fn clone(&self) -> ColumnMetadata
fn clone(&self) -> ColumnMetadata
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 ColumnMetadata
impl RefUnwindSafe for ColumnMetadata
impl Send for ColumnMetadata
impl Sync for ColumnMetadata
impl Unpin for ColumnMetadata
impl UnwindSafe for ColumnMetadata
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