pub struct StatsArgs {
pub input: PathBuf,
pub schema: Option<PathBuf>,
pub columns: Vec<String>,
pub filters: Vec<String>,
pub filter_exprs: Vec<String>,
pub delimiter: Option<u8>,
pub input_encoding: Option<String>,
pub limit: usize,
pub frequency: bool,
pub top: usize,
}Fields§
§input: PathBufInput CSV file to profile
schema: Option<PathBuf>Schema file to drive typed operations
columns: Vec<String>Columns to include (defaults to numeric columns)
filters: Vec<String>Row-level filters such as amount>=100 or status = shipped
filter_exprs: Vec<String>Evalexpr-based filter expressions that must evaluate to truthy values
delimiter: Option<u8>CSV delimiter character
input_encoding: Option<String>Character encoding for input file (defaults to utf-8)
limit: usizeMaximum rows to scan (0 = all)
frequency: boolEmit distinct value counts instead of summary statistics
top: usizeMaximum distinct values to display per column when –frequency is used (0 = all)
Trait Implementations§
Source§impl Args for StatsArgs
impl Args for StatsArgs
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 FromArgMatches for StatsArgs
impl FromArgMatches for StatsArgs
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.Auto Trait Implementations§
impl Freeze for StatsArgs
impl RefUnwindSafe for StatsArgs
impl Send for StatsArgs
impl Sync for StatsArgs
impl Unpin for StatsArgs
impl UnwindSafe for StatsArgs
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more