pub struct InstallTarget {
pub dir: PathBuf,
pub agents: Vec<Agent>,
pub root: Option<PathBuf>,
}Expand description
One destination directory and the agents that read from it.
Fields§
§dir: PathBufThe absolute skills directory.
agents: Vec<Agent>The agents that read from InstallTarget::dir. It is empty when
InstallOptions::dir was used.
root: Option<PathBuf>The project directory InstallTarget::dir was resolved against. It is
None for user scope, and when InstallOptions::dir named the
destination outright.
Implementations§
Trait Implementations§
Source§impl Clone for InstallTarget
impl Clone for InstallTarget
Auto Trait Implementations§
impl !RefUnwindSafe for InstallTarget
impl !UnwindSafe for InstallTarget
impl Freeze for InstallTarget
impl Send for InstallTarget
impl Sync for InstallTarget
impl Unpin for InstallTarget
impl UnsafeUnpin for InstallTarget
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