pub enum CsvQuoteStyle {
Always,
Necessary,
NonNumeric,
Never,
}Expand description
CSV quote style
Controls when fields are quoted when writing CSV files.
Corresponds to arrow::csv::QuoteStyle.
Variants§
Always
Quote all fields
Necessary
Only quote fields when necessary (default)
NonNumeric
Quote all non-numeric fields
Never
Never quote fields
Trait Implementations§
Source§impl Clone for CsvQuoteStyle
impl Clone for CsvQuoteStyle
Source§fn clone(&self) -> CsvQuoteStyle
fn clone(&self) -> CsvQuoteStyle
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 ConfigField for CsvQuoteStyle
impl ConfigField for CsvQuoteStyle
impl Copy for CsvQuoteStyle
Source§impl Debug for CsvQuoteStyle
impl Debug for CsvQuoteStyle
Source§impl Default for CsvQuoteStyle
impl Default for CsvQuoteStyle
Source§fn default() -> CsvQuoteStyle
fn default() -> CsvQuoteStyle
Returns the “default value” for a type. Read more
Source§impl Display for CsvQuoteStyle
impl Display for CsvQuoteStyle
impl Eq for CsvQuoteStyle
Source§impl From<CsvQuoteStyle> for QuoteStyle
impl From<CsvQuoteStyle> for QuoteStyle
Source§fn from(style: CsvQuoteStyle) -> Self
fn from(style: CsvQuoteStyle) -> Self
Converts to this type from the input type.
Source§impl FromStr for CsvQuoteStyle
impl FromStr for CsvQuoteStyle
Source§impl Hash for CsvQuoteStyle
impl Hash for CsvQuoteStyle
Source§impl PartialEq for CsvQuoteStyle
impl PartialEq for CsvQuoteStyle
Source§fn eq(&self, other: &CsvQuoteStyle) -> bool
fn eq(&self, other: &CsvQuoteStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CsvQuoteStyle
Auto Trait Implementations§
impl Freeze for CsvQuoteStyle
impl RefUnwindSafe for CsvQuoteStyle
impl Send for CsvQuoteStyle
impl Sync for CsvQuoteStyle
impl Unpin for CsvQuoteStyle
impl UnsafeUnpin for CsvQuoteStyle
impl UnwindSafe for CsvQuoteStyle
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.