Enum csv::QuoteStyle [] [src]

pub enum QuoteStyle {
    Always,
    Necessary,
    Never,
}

The quoting style to use when writing CSV data.

Variants

This puts quotes around every field. Always.

This puts quotes around fields only when necessary.

They are necessary when fields are empty or contain a quote, delimiter or record terminator.

This is the default.

This never writes quotes.

If a field requires quotes, then the writer will report an error.

Trait Implementations

impl Clone for QuoteStyle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for QuoteStyle
[src]