pub struct CsvOptions {
pub delimiter: char,
pub newline: Newline,
pub header: bool,
pub null_text: Box<str>,
pub missing: MissingText,
pub quoting: Quoting,
}Expand description
The CSV dialect, which is one of alchemy’s shared types. The CSV dialect.
Fields§
§delimiter: charOne character, and not ", CR, LF or NUL: those would make the
output unreadable by construction, and are refused when the renderer
is built.
newline: Newline§header: boolWrite the labels as the first record.
null_text: Box<str>The text of a Cell::Null; empty by default.
missing: MissingText§quoting: QuotingTrait Implementations§
Source§impl Clone for CsvOptions
impl Clone for CsvOptions
Source§fn clone(&self) -> CsvOptions
fn clone(&self) -> CsvOptions
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 moreSource§impl Debug for CsvOptions
impl Debug for CsvOptions
Source§impl Default for CsvOptions
impl Default for CsvOptions
Source§fn default() -> CsvOptions
fn default() -> CsvOptions
Returns the “default value” for a type. Read more
impl Eq for CsvOptions
Source§impl PartialEq for CsvOptions
impl PartialEq for CsvOptions
impl StructuralPartialEq for CsvOptions
Auto Trait Implementations§
impl Freeze for CsvOptions
impl RefUnwindSafe for CsvOptions
impl Send for CsvOptions
impl Sync for CsvOptions
impl Unpin for CsvOptions
impl UnsafeUnpin for CsvOptions
impl UnwindSafe for CsvOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.