Struct advreader::AdvReaderOptions
source · pub struct AdvReaderOptions {Show 15 fields
pub path: PathBuf,
pub buffer_size: usize,
pub trim: bool,
pub line_end: u8,
pub skip_comments: bool,
pub encode_comments: bool,
pub encode_strings: bool,
pub encoder: Option<String>,
pub allow_invalid_utf8: bool,
pub extended_word_separation: bool,
pub double_quote_escape: bool,
pub convert2numbers: bool,
pub keep_base: bool,
pub bool_false: Option<Vec<u8>>,
pub bool_true: Option<Vec<u8>>,
}Fields§
§path: PathBuf§buffer_size: usize§trim: bool§line_end: u8§skip_comments: bool§encode_comments: boolConvert (Line) Comments into UTF8
encode_strings: boolConvert Strings into UTF8
encoder: Option<String>Optional encoder for converting strings into UTF8
allow_invalid_utf8: boolAllow invalid UTF8 characters.
extended_word_separation: boolValid characters for word: 0-9a-zA-Z_.
double_quote_escape: boolSpecial support for escaping double quote is: “”
convert2numbers: boolConvert text to numbers (int, float)
keep_base: boolKeep base of number
bool_false: Option<Vec<u8>>If defined boolean False detection is enabled.
bool_true: Option<Vec<u8>>If defined boolean True detection is enabled.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for AdvReaderOptions
impl Send for AdvReaderOptions
impl Sync for AdvReaderOptions
impl Unpin for AdvReaderOptions
impl UnwindSafe for AdvReaderOptions
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