pub struct RoastScmArgs {Show 21 fields
pub changesgenerate: bool,
pub changesauthor: Option<String>,
pub changesemail: Option<String>,
pub changesoutfile: Option<PathBuf>,
pub set_version: Option<String>,
pub set_name: Option<String>,
pub git_repository_url: Option<String>,
pub exclude: Option<Vec<PathBuf>>,
pub revision: Option<String>,
pub versionrewriteregex: Option<String>,
pub versionrewritepattern: Option<String>,
pub depth: i32,
pub is_temporary: bool,
pub outfile: Option<PathBuf>,
pub outdir: Option<PathBuf>,
pub reproducible: bool,
pub ignore_git: bool,
pub ignore_hidden: bool,
pub compression: Compression,
pub silent: bool,
pub subcommands: Option<Subcommands>,
}Fields§
§changesgenerate: bool§changesemail: Option<String>§changesoutfile: Option<PathBuf>§set_version: Option<String>§set_name: Option<String>§git_repository_url: Option<String>§exclude: Option<Vec<PathBuf>>§revision: Option<String>§versionrewriteregex: Option<String>§versionrewritepattern: Option<String>§depth: i32§is_temporary: bool§outfile: Option<PathBuf>§outdir: Option<PathBuf>§reproducible: bool§ignore_git: bool§compression: Compression§silent: bool§subcommands: Option<Subcommands>Trait Implementations§
Source§impl Args for RoastScmArgs
impl Args for RoastScmArgs
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 RoastScmArgs
impl CommandFactory for RoastScmArgs
Source§impl Debug for RoastScmArgs
impl Debug for RoastScmArgs
Source§impl FromArgMatches for RoastScmArgs
impl FromArgMatches for RoastScmArgs
Source§fn from_arg_matches(
__clap_arg_matches: &ArgMatches,
) -> Result<RoastScmArgs, Error>
fn from_arg_matches( __clap_arg_matches: &ArgMatches, ) -> Result<RoastScmArgs, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<RoastScmArgs, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<RoastScmArgs, 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 RoastScmArgs
impl Parser for RoastScmArgs
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 RoastScmArgs
impl RefUnwindSafe for RoastScmArgs
impl Send for RoastScmArgs
impl Sync for RoastScmArgs
impl Unpin for RoastScmArgs
impl UnwindSafe for RoastScmArgs
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