#[non_exhaustive]pub struct Options {
pub delimiter: u8,
pub transpose: bool,
pub headers: bool,
pub encoding: Option<String>,
}Expand description
Parsing and input options shared by command dispatch.
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.delimiter: u8Column delimiter byte (default: b'\t').
transpose: boolWhether to transpose rows and columns before processing.
headers: boolWhether the first row contains header names.
encoding: Option<String>Input encoding name (e.g., "UTF-16"). None assumes UTF-8.
Trait Implementations§
Source§impl From<Options> for DsvOptions
impl From<Options> for DsvOptions
impl Eq for Options
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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