pub struct ToCsvConfig {
pub delimiter: u8,
pub include_headers: bool,
pub quote_style: QuoteStyle,
}Expand description
Configuration for CSV output.
Fields§
§delimiter: u8Field delimiter (default: ‘,’)
include_headers: boolInclude header row (default: true)
quote_style: QuoteStyleQuote style for fields (default: necessary)
Trait Implementations§
Source§impl Clone for ToCsvConfig
impl Clone for ToCsvConfig
Source§fn clone(&self) -> ToCsvConfig
fn clone(&self) -> ToCsvConfig
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 ToCsvConfig
impl Debug for ToCsvConfig
Auto Trait Implementations§
impl Freeze for ToCsvConfig
impl RefUnwindSafe for ToCsvConfig
impl Send for ToCsvConfig
impl Sync for ToCsvConfig
impl Unpin for ToCsvConfig
impl UnwindSafe for ToCsvConfig
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