pub struct ImportArgs {Show 14 fields
pub common: CommonOpts,
pub from: ImportFormat,
pub schema_hint: Option<PathBuf>,
pub conflict: ConflictPolicy,
pub root: Option<String>,
pub csv_delimiter: Option<char>,
pub csv_no_header: bool,
pub xml_record_tag: Option<String>,
pub xml_attrs: XmlAttrsMode,
pub buffer_records: usize,
pub max_depth: usize,
pub xml_max_depth: usize,
pub tail_index_spill: bool,
pub verify: VerifyPolicy,
}Expand description
All CLI flags for nxs-import. One field per spec flag.
Fields§
§common: CommonOpts§from: ImportFormat--from <json|csv|xml> — required.
schema_hint: Option<PathBuf>--schema <file.yaml> — skip inference; single-pass.
conflict: ConflictPolicy--on-conflict
root: Option<String>--root <jsonpath> — default $ (JSON only).
csv_delimiter: Option<char>--csv-delimiter <char> — default ,.
csv_no_header: bool--csv-no-header — generate positional keys col_0, col_1, …
xml_record_tag: Option<String>--xml-record-tag <name> — required for XML.
xml_attrs: XmlAttrsMode--xml-attrs <as-fields|prefix> — default as-fields.
buffer_records: usize--buffer-records <N> — default 4096.
max_depth: usize--max-depth <N> — default 64; applies to JSON and XML.
xml_max_depth: usize--xml-max-depth <N> — default 64; effective = min(max_depth, xml_max_depth).
tail_index_spill: bool--tail-index-spill — allow tail-index to exceed 512 MB by spilling to disk.
verify: VerifyPolicy--verify <auto|force|off> — default auto.
Trait Implementations§
Source§impl Debug for ImportArgs
impl Debug for ImportArgs
Auto Trait Implementations§
impl Freeze for ImportArgs
impl RefUnwindSafe for ImportArgs
impl Send for ImportArgs
impl Sync for ImportArgs
impl Unpin for ImportArgs
impl UnsafeUnpin for ImportArgs
impl UnwindSafe for ImportArgs
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