pub struct Options {Show 19 fields
pub delete_input_csv: bool,
pub seperator: String,
pub use_titles: bool,
pub drop: bool,
pub schema: String,
pub evolve: bool,
pub delimiter: Option<u8>,
pub quote: Option<u8>,
pub double_quote: bool,
pub escape: Option<u8>,
pub comment: Option<u8>,
pub stats: bool,
pub datapackage_string: bool,
pub stats_csv: String,
pub threads: usize,
pub dump_file: String,
pub pipe: bool,
pub truncate: bool,
pub all_strings: bool,
}Fields§
§delete_input_csv: bool§seperator: String§use_titles: bool§drop: bool§schema: String§evolve: bool§delimiter: Option<u8>§quote: Option<u8>§double_quote: bool§escape: Option<u8>§comment: Option<u8>§stats: bool§datapackage_string: bool§stats_csv: String§threads: usize§dump_file: String§pipe: bool§truncate: bool§all_strings: boolImplementations§
Source§impl Options
impl Options
Sourcepub fn builder() -> OptionsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
pub fn builder() -> OptionsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building Options.
On the builder, call .delete_input_csv(...)(optional), .seperator(...)(optional), .use_titles(...)(optional), .drop(...)(optional), .schema(...)(optional), .evolve(...)(optional), .delimiter(...)(optional), .quote(...)(optional), .double_quote(...)(optional), .escape(...)(optional), .comment(...)(optional), .stats(...)(optional), .datapackage_string(...)(optional), .stats_csv(...)(optional), .threads(...)(optional), .dump_file(...)(optional), .pipe(...)(optional), .truncate(...)(optional), .all_strings(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of Options.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin 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