pub struct CSVLine { /* private fields */ }
Expand description
A struct to hold the parser settings
Implementations§
Source§impl CSVLine
impl CSVLine
Sourcepub fn with_separator(self, separator: u8) -> Self
pub fn with_separator(self, separator: u8) -> Self
Sets a new separator, the default is ,
Sourcepub fn decode_str<T: DeserializeOwned>(&self, s: &str) -> Result<T>
pub fn decode_str<T: DeserializeOwned>(&self, s: &str) -> Result<T>
Deserializes the string
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CSVLine
impl RefUnwindSafe for CSVLine
impl Send for CSVLine
impl Sync for CSVLine
impl Unpin for CSVLine
impl UnwindSafe for CSVLine
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