#[non_exhaustive]pub struct CsvOptions {
pub emit_started: bool,
pub tab_separated: bool,
}Available on crate feature
emit only.Expand description
Options for FlowEventCsvWriter.
Construct via CsvOptions::default() then mutate; the struct
is #[non_exhaustive] so additions stay non-breaking.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.emit_started: boolEmit a Started row per flow start (default false).
When true, the row schema gains a leading
flow_event_kind column ("started" / "ended").
tab_separated: boolUse tabs instead of commas as the field separator
(default false).
Trait Implementations§
Source§impl Clone for CsvOptions
impl Clone for CsvOptions
Source§fn clone(&self) -> CsvOptions
fn clone(&self) -> CsvOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CsvOptions
Source§impl Debug for CsvOptions
impl Debug for CsvOptions
Source§impl Default for CsvOptions
impl Default for CsvOptions
Source§fn default() -> CsvOptions
fn default() -> CsvOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CsvOptions
impl RefUnwindSafe for CsvOptions
impl Send for CsvOptions
impl Sync for CsvOptions
impl Unpin for CsvOptions
impl UnsafeUnpin for CsvOptions
impl UnwindSafe for CsvOptions
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