pub struct CsvConfig {
pub delimiter: u8,
pub has_header: bool,
pub max_rows: Option<usize>,
pub trim_whitespace: bool,
}Expand description
Configuration for CsvReader.
Fields§
§delimiter: u8Field delimiter byte. Default: b','.
has_header: boolWhether the first row is a header. Default: true.
max_rows: Option<usize>Maximum number of data rows to read. None = read all.
trim_whitespace: boolTrim ASCII whitespace from field values before type inference. Default: true.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CsvConfig
impl RefUnwindSafe for CsvConfig
impl Send for CsvConfig
impl Sync for CsvConfig
impl Unpin for CsvConfig
impl UnsafeUnpin for CsvConfig
impl UnwindSafe for CsvConfig
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