Struct cargo_release::config::ConfigArgs
source · pub struct ConfigArgs {
pub custom_config: Option<String>,
pub isolated: bool,
pub sign: bool,
pub no_sign: bool,
pub dependent_version: Option<DependentVersion>,
pub allow_branch: Option<Vec<String>>,
pub commit: CommitArgs,
pub publish: PublishArgs,
pub tag: TagArgs,
pub push: PushArgs,
}Fields§
§custom_config: Option<String>Custom config file
isolated: boolIgnore implicit configuration files.
sign: boolSign both git commit and tag
no_sign: bool§dependent_version: Option<DependentVersion>Specify how workspace dependencies on this crate should be handed.
allow_branch: Option<Vec<String>>Comma-separated globs of branch names a release can happen from
commit: CommitArgs§publish: PublishArgs§tag: TagArgs§push: PushArgsImplementations§
Trait Implementations§
source§impl Args for ConfigArgs
impl Args for ConfigArgs
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§impl Clone for ConfigArgs
impl Clone for ConfigArgs
source§fn clone(&self) -> ConfigArgs
fn clone(&self) -> ConfigArgs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ConfigArgs
impl Debug for ConfigArgs
source§impl Default for ConfigArgs
impl Default for ConfigArgs
source§fn default() -> ConfigArgs
fn default() -> ConfigArgs
Returns the “default value” for a type. Read more
source§impl FromArgMatches for ConfigArgs
impl FromArgMatches for ConfigArgs
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.