pub struct ScanArgs {Show 13 fields
pub path: Option<PathBuf>,
pub tags: Option<Vec<String>>,
pub include: Option<Vec<String>>,
pub exclude: Option<Vec<String>>,
pub json: bool,
pub flat: bool,
pub depth: usize,
pub follow_links: bool,
pub hidden: bool,
pub ignore_case: bool,
pub no_require_colon: bool,
pub sort: SortOrder,
pub group_by_tag: bool,
}Fields§
§path: Option<PathBuf>§include: Option<Vec<String>>§exclude: Option<Vec<String>>§json: bool§flat: bool§depth: usize§follow_links: bool§ignore_case: bool§no_require_colon: bool§sort: SortOrder§group_by_tag: boolTrait Implementations§
Source§impl Args for ScanArgs
impl Args for ScanArgs
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 ScanArgs
impl FromArgMatches for ScanArgs
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 ScanArgs
impl RefUnwindSafe for ScanArgs
impl Send for ScanArgs
impl Sync for ScanArgs
impl Unpin for ScanArgs
impl UnsafeUnpin for ScanArgs
impl UnwindSafe for ScanArgs
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