pub struct DeployArgs {
pub packages: Option<Vec<String>>,
pub profile: Option<String>,
pub ignore_errors: bool,
pub clean: Option<bool>,
pub dry_run: bool,
pub skip_actions: bool,
pub skip_pre_actions: bool,
pub skip_post_actions: bool,
pub ignore_dependencies: bool,
}Fields§
§packages: Option<Vec<String>>Deploy only these packages (plus dependencies, unless –ignore-dependencies). Omit to deploy the active profile’s packages.
profile: Option<String>Use this profile instead of the resolved default.
ignore_errors: boolKeep deploying remaining packages if one fails.
clean: Option<bool>Override the clean mode setting for this run.
dry_run: boolPreview without changing anything.
skip_actions: boolSkip both pre- and post-actions.
skip_pre_actions: boolSkip only pre-actions.
skip_post_actions: boolSkip only post-actions.
ignore_dependencies: boolDeploy only the selected packages, without pulling in dependencies.
Trait Implementations§
Source§impl Args for DeployArgs
impl Args for DeployArgs
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 Debug for DeployArgs
impl Debug for DeployArgs
Source§impl Default for DeployArgs
impl Default for DeployArgs
Source§fn default() -> DeployArgs
fn default() -> DeployArgs
Returns the “default value” for a type. Read more
Source§impl FromArgMatches for DeployArgs
impl FromArgMatches for DeployArgs
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 Freeze for DeployArgs
impl RefUnwindSafe for DeployArgs
impl Send for DeployArgs
impl Sync for DeployArgs
impl Unpin for DeployArgs
impl UnsafeUnpin for DeployArgs
impl UnwindSafe for DeployArgs
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