Enum csv::Trim [−][src]
pub enum Trim { None, Headers, Fields, All, // some variants omitted }
The whitespace preservation behaviour when reading CSV data.
Variants
None
Preserves fields and headers. This is the default.
Headers
Trim whitespace from headers.
Fields
Trim whitespace from fields, but not headers.
All
Trim whitespace from fields and headers.
Trait Implementations
impl Clone for Trim
[src]
impl Clone for Trim
fn clone(&self) -> Trim
[src]
fn clone(&self) -> Trim
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Trim
[src]
impl Copy for Trim
impl Debug for Trim
[src]
impl Debug for Trim
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Trim
[src]
impl PartialEq for Trim
fn eq(&self, other: &Trim) -> bool
[src]
fn eq(&self, other: &Trim) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Default for Trim
[src]
impl Default for Trim