#[non_exhaustive]pub struct Column {
pub name: String,
pub data_type: DataType,
pub nullable: bool,
}Expand description
One column’s name + inferred type. nullable is true if any
sample row had a missing/empty value in this position.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringColumn header. Falls back to column_<idx> when the
underlying file has no header row or the cell is empty.
data_type: DataTypeType inferred from the sample rows. Unknown when every
sample row’s cell was empty/null in this position.
nullable: booltrue if any sample row had a null/empty cell here.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnsafeUnpin for Column
impl UnwindSafe for Column
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