pub struct RowOptionSet {
pub columns: Vec<Column>,
pub decimal_comma: bool,
pub datetime_mode: DateTimeMode,
pub omit_null_values: bool,
}Expand description
Row parsing options with nested column options
Fields§
§columns: Vec<Column>§decimal_comma: bool§datetime_mode: DateTimeModeRow-wide default rendering mode for datetime cells (genuine Data::DateTime/
Data::DateTimeIso cells, and any string/CSV cell under an explicit
Format::Date/Format::Time/Format::Hm/Format::DateTime override). A column’s
own Format override, or its own datetime_mode on a Format::Auto column, takes
precedence over this row-wide default; see Column::datetime_mode.
omit_null_values: boolWhen set, any key whose value is JSON null is dropped from the row entirely
(recursively, through nested objects built via KeySegment::Object/Array/
InnerObject too) rather than being emitted as "key": null. Only ever targets
genuine Value::Null – an empty string (“”) is a different, deliberate value and
is left alone. Off by default: existing output is unchanged unless opted into.
Implementations§
Source§impl RowOptionSet
impl RowOptionSet
Trait Implementations§
Source§impl Clone for RowOptionSet
impl Clone for RowOptionSet
Source§fn clone(&self) -> RowOptionSet
fn clone(&self) -> RowOptionSet
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more