pub struct InstallSkillArgs {
pub providers: Option<String>,
pub scope: Option<Scope>,
pub project_root: Option<PathBuf>,
pub method: Option<InstallMethod>,
pub force: bool,
}Fields§
§providers: Option<String>Providers to target (comma-separated). Use ‘*’ for all.
scope: Option<Scope>Install scope
project_root: Option<PathBuf>Project root; defaults to current directory when scope is project
method: Option<InstallMethod>Installation method
force: boolOverwrite existing destination skill folders
Trait Implementations§
Source§impl Args for InstallSkillArgs
impl Args for InstallSkillArgs
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 Clone for InstallSkillArgs
impl Clone for InstallSkillArgs
Source§fn clone(&self) -> InstallSkillArgs
fn clone(&self) -> InstallSkillArgs
Returns a duplicate 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 InstallSkillArgs
impl Debug for InstallSkillArgs
Source§impl FromArgMatches for InstallSkillArgs
impl FromArgMatches for InstallSkillArgs
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 InstallSkillArgs
impl RefUnwindSafe for InstallSkillArgs
impl Send for InstallSkillArgs
impl Sync for InstallSkillArgs
impl Unpin for InstallSkillArgs
impl UnsafeUnpin for InstallSkillArgs
impl UnwindSafe for InstallSkillArgs
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