pub struct InstallSpec {
pub global: bool,
pub local: bool,
pub agents: Vec<Agent>,
pub include_vendor_neutral_global: bool,
}Expand description
Specification of where to install (from CLI flags), before resolution.
Fields§
§global: boolWhether --global was passed.
local: boolWhether --local was passed.
agents: Vec<Agent>Agents named by --agent (possibly multiple; --agent all
expands to every detected agent).
include_vendor_neutral_global: boolWhen --agent all was passed, we also install to the
vendor-neutral ~/.agents/skills/ location — this flag records
that intent so the resolver can produce that extra target.
Trait Implementations§
Source§impl Clone for InstallSpec
impl Clone for InstallSpec
Source§fn clone(&self) -> InstallSpec
fn clone(&self) -> InstallSpec
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 InstallSpec
impl Debug for InstallSpec
Source§impl Default for InstallSpec
impl Default for InstallSpec
Source§fn default() -> InstallSpec
fn default() -> InstallSpec
Returns the “default value” for a type. Read more
Source§impl PartialEq for InstallSpec
impl PartialEq for InstallSpec
Source§fn eq(&self, other: &InstallSpec) -> bool
fn eq(&self, other: &InstallSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for InstallSpec
impl StructuralPartialEq for InstallSpec
Auto Trait Implementations§
impl Freeze for InstallSpec
impl RefUnwindSafe for InstallSpec
impl Send for InstallSpec
impl Sync for InstallSpec
impl Unpin for InstallSpec
impl UnsafeUnpin for InstallSpec
impl UnwindSafe for InstallSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.