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: booldependent_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: CommitArgspublish: PublishArgstag: TagArgspush: PushArgsImplementations
sourceimpl ConfigArgs
impl ConfigArgs
Trait Implementations
sourceimpl Args for ConfigArgs
impl Args for ConfigArgs
sourcefn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the
ArgGroup::id for this set of argumentssourcefn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
sourceimpl Clone for ConfigArgs
impl Clone for ConfigArgs
sourcefn clone(&self) -> ConfigArgs
fn clone(&self) -> ConfigArgs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ConfigArgs
impl Debug for ConfigArgs
sourceimpl Default for ConfigArgs
impl Default for ConfigArgs
sourcefn default() -> ConfigArgs
fn default() -> ConfigArgs
Returns the “default value” for a type. Read more
sourceimpl FromArgMatches for ConfigArgs
impl FromArgMatches for ConfigArgs
sourcefn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
sourcefn 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>
sourcefn 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.sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more