pub struct ExportArgs {
pub common: CommonOpts,
pub to: ExportFormat,
pub pretty: bool,
pub ndjson: bool,
pub columns: Option<Vec<String>>,
pub csv_delimiter: Option<char>,
pub binary: BinaryEncoding,
pub csv_safe: bool,
}Expand description
All CLI flags for nxs-export. One field per spec flag.
Fields§
§common: CommonOpts§to: ExportFormat--to <json|csv> — required.
pretty: bool--pretty — (JSON only) indent 2 spaces.
ndjson: bool--ndjson — (JSON only) newline-delimited JSON.
columns: Option<Vec<String>>--columns <a,b,c> — (CSV only) explicit column order.
csv_delimiter: Option<char>--csv-delimiter <char> — default ,.
binary: BinaryEncoding--binary <base64|hex|skip> — default base64.
csv_safe: bool--csv-safe — prefix injection-prone cells with '.
Trait Implementations§
Source§impl Debug for ExportArgs
impl Debug for ExportArgs
Source§impl Default for ExportArgs
impl Default for ExportArgs
Source§fn default() -> ExportArgs
fn default() -> ExportArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExportArgs
impl RefUnwindSafe for ExportArgs
impl Send for ExportArgs
impl Sync for ExportArgs
impl Unpin for ExportArgs
impl UnsafeUnpin for ExportArgs
impl UnwindSafe for ExportArgs
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