Struct csv_sniffer::metadata::Metadata [] [src]

pub struct Metadata {
    pub dialect: Dialect,
    pub num_fields: usize,
    pub types: Vec<Type>,
}

Primary CSV metadata. Generated by Sniffer::sniff_path or Sniffer::sniff_reader after examining a CSV file.

Fields

Dialect subtype.

(Maximum) number of fields per record.

Inferred field types.

Trait Implementations

impl Debug for Metadata
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Metadata
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Metadata
[src]

[src]

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

[src]

This method tests for !=.

impl Display for Metadata
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Metadata

impl Sync for Metadata