pub struct CsvParserConfig {
pub delimiter: char,
pub headers: bool,
}Fields§
§delimiter: charField delimiter (default ',').
This must be an ASCII character.
headers: boolWhether the input begins with a header line (which is ignored).
Implementations§
Source§impl CsvParserConfig
impl CsvParserConfig
pub fn delimiter(&self) -> CsvDelimiter
Trait Implementations§
Source§impl Clone for CsvParserConfig
impl Clone for CsvParserConfig
Source§fn clone(&self) -> CsvParserConfig
fn clone(&self) -> CsvParserConfig
Returns a copy 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 CsvParserConfig
impl Debug for CsvParserConfig
Source§impl Default for CsvParserConfig
impl Default for CsvParserConfig
Source§impl<'de> Deserialize<'de> for CsvParserConfigwhere
CsvParserConfig: Default,
impl<'de> Deserialize<'de> for CsvParserConfigwhere
CsvParserConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CsvParserConfig
impl Serialize for CsvParserConfig
Auto Trait Implementations§
impl Freeze for CsvParserConfig
impl RefUnwindSafe for CsvParserConfig
impl Send for CsvParserConfig
impl Sync for CsvParserConfig
impl Unpin for CsvParserConfig
impl UnwindSafe for CsvParserConfig
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