pub struct Metadata {
pub dialect: Dialect,
pub avg_record_len: usize,
pub num_fields: usize,
pub fields: Vec<String>,
pub types: Vec<Type>,
}Expand description
Metadata about a CSV file.
Fields§
§dialect: DialectThe detected CSV dialect.
avg_record_len: usizeAverage record length in bytes.
num_fields: usizeNumber of fields per record.
fields: Vec<String>Field names from the header row (or generated names if no header).
types: Vec<Type>Detected type for each field.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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