pub struct RoastArgs {
pub target: Option<PathBuf>,
pub include: Option<Vec<PathBuf>>,
pub exclude: Option<Vec<PathBuf>>,
pub additional_paths: Option<Vec<String>>,
pub outfile: Option<PathBuf>,
pub outdir: Option<PathBuf>,
pub preserve_root: bool,
pub reproducible: bool,
pub ignore_git: bool,
pub ignore_hidden: bool,
pub silent: bool,
pub subcommands: Option<Subcommands>,
}Fields§
§target: Option<PathBuf>§include: Option<Vec<PathBuf>>§exclude: Option<Vec<PathBuf>>§additional_paths: Option<Vec<String>>§outfile: Option<PathBuf>§outdir: Option<PathBuf>§preserve_root: bool§reproducible: bool§ignore_git: bool§silent: bool§subcommands: Option<Subcommands>Trait Implementations§
Source§impl Args for RoastArgs
impl Args for RoastArgs
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 RoastArgs
impl CommandFactory for RoastArgs
Source§impl FromArgMatches for RoastArgs
impl FromArgMatches for RoastArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<RoastArgs, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<RoastArgs, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<RoastArgs, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<RoastArgs, 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 RoastArgs
impl Parser for RoastArgs
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 RoastArgs
impl RefUnwindSafe for RoastArgs
impl Send for RoastArgs
impl Sync for RoastArgs
impl Unpin for RoastArgs
impl UnwindSafe for RoastArgs
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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