pub enum ModelType {
Positional,
Named,
}Expand description
Whether a relation’s attributes are identified by name or by position.
Returned by RelationHeader::model_type. A header is Named when it
carries explicit attribute names (e.g. from a CSV/Parquet schema), and
Positional otherwise — typical for intermediate relations produced
during query evaluation where only arity matters.
Variants§
Positional
Attributes are accessed by column index only; attribute names are absent.
Named
Attributes have explicit string names, typically sourced from a file header or schema.
Auto Trait Implementations§
impl Freeze for ModelType
impl RefUnwindSafe for ModelType
impl Send for ModelType
impl Sync for ModelType
impl Unpin for ModelType
impl UnsafeUnpin for ModelType
impl UnwindSafe for ModelType
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