pub struct CsvReadOptions {
pub delimiter: u8,
pub quote: Option<u8>,
pub has_header: bool,
pub trim: bool,
}Expand description
Options controlling CSV parsing.
Fields§
§delimiter: u8Field delimiter byte (default b','). Must be ASCII.
quote: Option<u8>Quote byte (default Some(b'"')). None disables quoting entirely.
Must be ASCII when present.
has_header: boolWhether the first physical record is a header (default true).
trim: boolTrim ASCII whitespace from every unquoted field (default false).
Trait Implementations§
Source§impl Clone for CsvReadOptions
impl Clone for CsvReadOptions
Source§fn clone(&self) -> CsvReadOptions
fn clone(&self) -> CsvReadOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CsvReadOptions
impl Debug for CsvReadOptions
Auto Trait Implementations§
impl Freeze for CsvReadOptions
impl RefUnwindSafe for CsvReadOptions
impl Send for CsvReadOptions
impl Sync for CsvReadOptions
impl Unpin for CsvReadOptions
impl UnsafeUnpin for CsvReadOptions
impl UnwindSafe for CsvReadOptions
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