Enum csv_stream::Trim [−][src]
#[non_exhaustive]
pub enum Trim {
None,
Headers,
Fields,
All,
}
Expand description
The whitespace preservation behaviour when reading CSV data.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future 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
Auto Trait Implementations
impl RefUnwindSafe for Trim
impl UnwindSafe for Trim
Blanket Implementations
Mutably borrows from an owned value. Read more