pub struct TextParseOptions {
pub delimiter: char,
pub skiprows: usize,
pub comments: Option<char>,
pub max_rows: Option<usize>,
}Expand description
Options for parsing delimited text files.
Fields§
§delimiter: charColumn delimiter character (default: ‘,’).
skiprows: usizeNumber of header rows to skip (default: 0).
comments: Option<char>Comment character: lines starting with this (after trimming) are skipped.
max_rows: Option<usize>Maximum number of rows to read (None = all).
Trait Implementations§
Source§impl Clone for TextParseOptions
impl Clone for TextParseOptions
Source§fn clone(&self) -> TextParseOptions
fn clone(&self) -> TextParseOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 TextParseOptions
impl Debug for TextParseOptions
Auto Trait Implementations§
impl Freeze for TextParseOptions
impl RefUnwindSafe for TextParseOptions
impl Send for TextParseOptions
impl Sync for TextParseOptions
impl Unpin for TextParseOptions
impl UnsafeUnpin for TextParseOptions
impl UnwindSafe for TextParseOptions
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