Struct cargo_release::config::ConfigArgs
source · pub struct ConfigArgs {
pub custom_config: Option<PathBuf>,
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<PathBuf>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 group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentssource§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
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.Auto Trait Implementations§
impl RefUnwindSafe for ConfigArgs
impl Send for ConfigArgs
impl Sync for ConfigArgs
impl Unpin for ConfigArgs
impl UnwindSafe for ConfigArgs
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