#[non_exhaustive]pub struct Cli {Show 33 fields
pub url: Option<String>,
pub format: OutputFormat,
pub detailed: bool,
pub quiet: bool,
pub no_progress: bool,
pub no_color: bool,
pub token: Option<String>,
pub timeout: u64,
pub allow_insecure: bool,
pub user_agent: Option<String>,
pub retry_count: u32,
pub aggressive_filter: bool,
pub max_file_size: u64,
pub include_tests: bool,
pub include_docs: bool,
pub include_hidden: bool,
pub exclude_pattern: Option<String>,
pub include_pattern: Option<String>,
pub min_file_size: u64,
pub language: Option<String>,
pub exclude_language: Vec<String>,
pub ignore_whitespace: bool,
pub count_generated: bool,
pub max_line_length: usize,
pub debug: bool,
pub trace: bool,
pub log_file: Option<String>,
pub threads: usize,
pub memory_limit: usize,
pub cache_dir: Option<String>,
pub no_cache: bool,
pub experimental_parallel: bool,
pub experimental_streaming: bool,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.url: Option<String>§format: OutputFormat§detailed: bool§quiet: bool§no_progress: bool§no_color: bool§token: Option<String>§timeout: u64§allow_insecure: bool§user_agent: Option<String>§retry_count: u32§aggressive_filter: bool§max_file_size: u64§include_tests: bool§include_docs: bool§exclude_pattern: Option<String>§include_pattern: Option<String>§min_file_size: u64§language: Option<String>§exclude_language: Vec<String>§ignore_whitespace: bool§count_generated: bool§max_line_length: usize§debug: bool§trace: bool§log_file: Option<String>§threads: usize§memory_limit: usize§cache_dir: Option<String>§no_cache: bool§experimental_parallel: bool§experimental_streaming: boolTrait Implementations§
Source§impl Args for Cli
impl Args for Cli
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 Cli
impl CommandFactory for Cli
Source§impl FromArgMatches for Cli
impl FromArgMatches for Cli
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 Cli
impl Parser for Cli
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 Cli
impl RefUnwindSafe for Cli
impl Send for Cli
impl Sync for Cli
impl Unpin for Cli
impl UnwindSafe for Cli
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