Struct csv_sniffer::metadata::Dialect
source · [−]Expand description
Dialect-level metadata. This type encapsulates the details to be used to derive a
ReaderBuilder
object (in the csv
crate).
Fields
delimiter: u8
CSV delimiter (field separator).
header: Header
Header
subtype (header row boolean and number of preamble rows).
quote: Quote
Record quoting details.
flexible: bool
Whether or not the number of fields in a record is allowed to change.
Implementations
Trait Implementations
sourceimpl From<Dialect> for ReaderBuilder
impl From<Dialect> for ReaderBuilder
sourcefn from(dialect: Dialect) -> ReaderBuilder
fn from(dialect: Dialect) -> ReaderBuilder
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Dialect
impl Send for Dialect
impl Sync for Dialect
impl Unpin for Dialect
impl UnwindSafe for Dialect
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more