Struct ffizer::ReapplyOpts
source · pub struct ReapplyOpts {
pub confirm: AskConfirmation,
pub update_mode: UpdateMode,
pub no_interaction: bool,
pub offline: bool,
pub dst_folder: PathBuf,
pub key_value: Vec<(String, String)>,
}
Fields§
§confirm: AskConfirmation
ask for plan confirmation
update_mode: UpdateMode
mode to update existing file
no_interaction: bool
should not ask for confirmation (to use default value, to apply plan, to override, to run script,…)
offline: bool
in offline, only local templates or cached templates are used
dst_folder: PathBuf
destination folder (created if doesn’t exist)
key_value: Vec<(String, String)>
set variable’s value from cli (“key=value”)
Trait Implementations§
source§impl Args for ReapplyOpts
impl Args for ReapplyOpts
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 ReapplyOpts
impl Clone for ReapplyOpts
source§fn clone(&self) -> ReapplyOpts
fn clone(&self) -> ReapplyOpts
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 ReapplyOpts
impl Debug for ReapplyOpts
source§impl Default for ReapplyOpts
impl Default for ReapplyOpts
source§fn default() -> ReapplyOpts
fn default() -> ReapplyOpts
Returns the “default value” for a type. Read more
source§impl FromArgMatches for ReapplyOpts
impl FromArgMatches for ReapplyOpts
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 ReapplyOpts
impl Send for ReapplyOpts
impl Sync for ReapplyOpts
impl Unpin for ReapplyOpts
impl UnwindSafe for ReapplyOpts
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