pub struct CsvWriterOptions {
pub column_separator: char,
pub column_delimiter: char,
pub row_separator: &'static str,
pub null_value: String,
pub write_header: bool,
pub date_format: String,
pub timestamp_format: String,
}Expand description
Options for CSV output when converting Arrow data.
Fields§
§column_separator: charColumn separator character (default: ‘,’)
column_delimiter: charColumn delimiter character for quoting (default: ‘“’)
row_separator: &'static strRow separator (default: ‘\n’)
null_value: StringString to represent NULL values (default: empty string)
write_header: boolWhether to write column headers (default: false)
date_format: StringDate format string (default: “%Y-%m-%d”)
timestamp_format: StringTimestamp format string (default: “%Y-%m-%d %H:%M:%S%.6f”)
Trait Implementations§
Source§impl Clone for CsvWriterOptions
impl Clone for CsvWriterOptions
Source§fn clone(&self) -> CsvWriterOptions
fn clone(&self) -> CsvWriterOptions
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 CsvWriterOptions
impl Debug for CsvWriterOptions
Auto Trait Implementations§
impl Freeze for CsvWriterOptions
impl RefUnwindSafe for CsvWriterOptions
impl Send for CsvWriterOptions
impl Sync for CsvWriterOptions
impl Unpin for CsvWriterOptions
impl UnsafeUnpin for CsvWriterOptions
impl UnwindSafe for CsvWriterOptions
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