pub struct Args {Show 21 fields
pub input: Vec<PathBuf>,
pub output: Option<PathBuf>,
pub output_pattern: Option<String>,
pub split_by: Option<SplitBy>,
pub json: bool,
pub csv: bool,
pub tsv: bool,
pub dbn: bool,
pub fragment: bool,
pub zstd: bool,
pub should_upgrade: bool,
pub force: bool,
pub should_output_metadata: bool,
pub should_pretty_print: bool,
pub map_symbols: bool,
pub limit: Option<NonZeroU64>,
pub is_input_fragment: bool,
pub is_input_zstd_fragment: bool,
pub input_dbn_version_override: Option<u8>,
pub schema_filter: Option<Schema>,
pub write_header: bool,
}Fields§
§input: Vec<PathBuf>§output: Option<PathBuf>§output_pattern: Option<String>§split_by: Option<SplitBy>§json: bool§csv: bool§tsv: bool§dbn: bool§fragment: bool§zstd: bool§should_upgrade: bool§force: bool§should_output_metadata: bool§should_pretty_print: bool§map_symbols: bool§limit: Option<NonZeroU64>§is_input_fragment: bool§is_input_zstd_fragment: bool§input_dbn_version_override: Option<u8>§schema_filter: Option<Schema>§write_header: boolImplementations§
Source§impl Args
impl Args
Sourcepub fn output_encoding(&self) -> OutputEncoding
pub fn output_encoding(&self) -> OutputEncoding
Consolidates the several output flag booleans into a single enum.
pub fn upgrade_policy(&self) -> VersionUpgradePolicy
pub fn input_version(&self) -> u8
Trait Implementations§
Source§impl Args for Args
impl Args for Args
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl CommandFactory for Args
impl CommandFactory for Args
Source§impl FromArgMatches for Args
impl FromArgMatches for Args
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Parser for Args
impl Parser for Args
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
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