pub struct Dialect {
pub delimiter: u8,
pub quote: u8,
pub quote_all: bool,
pub line_terminator: LineTerminator,
}Expand description
A delimited-file dialect: delimiter, quote char, quote-all flag, and line terminator.
Fields§
§delimiter: u8The field delimiter byte (e.g. , | tab).
quote: u8The quote byte (conventionally ").
quote_all: boolWhen true, every field is quoted regardless of content (some downstream loaders require it).
line_terminator: LineTerminatorThe terminator written between rows.
Implementations§
Trait Implementations§
impl Copy for Dialect
impl Eq for Dialect
impl StructuralPartialEq for Dialect
Auto Trait Implementations§
impl Freeze for Dialect
impl RefUnwindSafe for Dialect
impl Send for Dialect
impl Sync for Dialect
impl Unpin for Dialect
impl UnsafeUnpin for Dialect
impl UnwindSafe for Dialect
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more