pub struct SkillTargetArgs {
pub agent: SkillAgentSelection,
pub scope: SkillScope,
pub skills_dir: Option<String>,
}Fields§
§agent: SkillAgentSelectionAgent to manage. Defaults to all personal skill targets.
scope: SkillScopeSkill scope. Project scope installs under the current project’s skill directory.
skills_dir: Option<String>Directory that contains skill folders. Requires an explicit single –agent.
Trait Implementations§
Source§impl Args for SkillTargetArgs
impl Args for SkillTargetArgs
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 SkillTargetArgs
impl Clone for SkillTargetArgs
Source§fn clone(&self) -> SkillTargetArgs
fn clone(&self) -> SkillTargetArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SkillTargetArgs
impl Debug for SkillTargetArgs
Source§impl FromArgMatches for SkillTargetArgs
impl FromArgMatches for SkillTargetArgs
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 SkillTargetArgs
impl RefUnwindSafe for SkillTargetArgs
impl Send for SkillTargetArgs
impl Sync for SkillTargetArgs
impl Unpin for SkillTargetArgs
impl UnsafeUnpin for SkillTargetArgs
impl UnwindSafe for SkillTargetArgs
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