Enum csv::Trim [] [src]

pub enum Trim {
    None,
    Headers,
    Fields,
    All,
    // some variants omitted
}

The whitespace preservation behaviour when reading CSV data.

Variants

Preserves fields and headers. This is the default.

Trim whitespace from headers.

Trim whitespace from fields, but not headers.

Trim whitespace from fields and headers.

Trait Implementations

impl Clone for Trim
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Trim
[src]

impl Debug for Trim
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Trim
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Default for Trim
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Trim

impl Sync for Trim