pub struct CsvFrameConfig {
pub delimiter: u8,
pub quote: u8,
pub double_quote: bool,
pub escape: Option<u8>,
pub terminator: Terminator,
}Available on crate feature
csv only.Expand description
How to frame CSV records.
Fields§
§delimiter: u8Field delimiter.
quote: u8Quote character.
double_quote: boolWhether a doubled quote character is an escaped quote.
escape: Option<u8>Escape character, if escaping is by prefix rather than by doubling.
terminator: TerminatorRecord terminator.
Trait Implementations§
Source§impl Clone for CsvFrameConfig
impl Clone for CsvFrameConfig
Source§fn clone(&self) -> CsvFrameConfig
fn clone(&self) -> CsvFrameConfig
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 moreimpl Copy for CsvFrameConfig
Auto Trait Implementations§
impl Freeze for CsvFrameConfig
impl RefUnwindSafe for CsvFrameConfig
impl Send for CsvFrameConfig
impl Sync for CsvFrameConfig
impl Unpin for CsvFrameConfig
impl UnsafeUnpin for CsvFrameConfig
impl UnwindSafe for CsvFrameConfig
Blanket Implementations§
impl<T> Allocation for T
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