Enum csv::QuoteStyle [] [src]

pub enum QuoteStyle {
    Always,
    Necessary,
    Never,
}

The quoting style to use when writing CSV data.

Variants

Always

This puts quotes around every field. Always.

Necessary

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.

Never

This never writes quotes.

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

Trait Implementations

impl Copy for QuoteStyle
[src]

impl Clone for QuoteStyle
[src]

fn clone(&self) -> QuoteStyle

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more