pub struct SkillUninstallStatus {
pub agent: SkillAgent,
pub scope: SkillScope,
pub skills_dir: PathBuf,
pub skill_dir: PathBuf,
pub skill_path: PathBuf,
pub removed: bool,
pub assets_removed: Vec<String>,
pub directory_retained: bool,
}Expand description
Per-target outcome of uninstall.
Fields§
§agent: SkillAgentThe agent this target belongs to.
scope: SkillScopeThe scope this target belongs to.
skills_dir: PathBufDirectory that holds skill folders.
skill_dir: PathBufDirectory for this skill under skills_dir.
skill_path: PathBufFull path to the target SKILL.md.
removed: boolWhether the skill file itself was removed (false if nothing was installed).
assets_removed: Vec<String>Bundled asset paths, relative to the skill directory, that were removed with it. Empty for a single-file skill, and for a target that had nothing installed.
directory_retained: boolWhether the skill’s own directory outlived the uninstall — which happens when it holds files this tool did not install. They are left untouched, and saying so is the difference between a clean removal and one that left something behind.
Trait Implementations§
Source§impl Clone for SkillUninstallStatus
impl Clone for SkillUninstallStatus
Source§fn clone(&self) -> SkillUninstallStatus
fn clone(&self) -> SkillUninstallStatus
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 SkillUninstallStatus
impl Debug for SkillUninstallStatus
Auto Trait Implementations§
impl Freeze for SkillUninstallStatus
impl RefUnwindSafe for SkillUninstallStatus
impl Send for SkillUninstallStatus
impl Sync for SkillUninstallStatus
impl Unpin for SkillUninstallStatus
impl UnsafeUnpin for SkillUninstallStatus
impl UnwindSafe for SkillUninstallStatus
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