pub struct Dialect {
pub header: Option<bool>,
pub delimiter: Option<String>,
pub annotations: Vec<Annotations>,
pub comment_prefix: Option<String>,
pub date_time_format: Option<DateTimeFormat>,
}
Expand description
Dialect are options to change the default CSV output format; https://www.w3.org/TR/2015/REC-tabular-metadata-20151217/#dialect-descriptions
Fields
header: Option<bool>
If true, the results will contain a header row
delimiter: Option<String>
Separator between cells; the default is ,
annotations: Vec<Annotations>
https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/#columns
comment_prefix: Option<String>
Character prefixed to comment strings
date_time_format: Option<DateTimeFormat>
Format of timestamps
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Dialect
impl<'de> Deserialize<'de> for Dialect
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Dialect
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> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more