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: Dialect
Dialect
subtype.
num_fields: usize
(Maximum) number of fields per record.
types: Vec<Type>
Inferred field types.
Trait Implementations
impl Debug for Metadata
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Metadata
[src]
fn clone(&self) -> Metadata
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Metadata
[src]
fn eq(&self, __arg_0: &Metadata) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Metadata) -> bool
[src]
This method tests for !=
.