pub struct SkillUninstallStatus {
pub scope: Option<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§
§scope: Option<SkillScope>The scope of a standard folder; absent for an explicit directory.
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§impl Debug for SkillUninstallStatus
impl Debug for SkillUninstallStatus
Auto Trait Implementations§
impl Forget for SkillUninstallStatus
impl Freeze for SkillUninstallStatus
impl Move for SkillUninstallStatus
impl RefUnwindSafe for SkillUninstallStatus
impl Send for SkillUninstallStatuswhere
RawVecInner: Send,
impl Sync for SkillUninstallStatuswhere
RawVecInner: Sync,
impl Unpin for SkillUninstallStatus
impl UnsafeUnpin for SkillUninstallStatuswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for SkillUninstallStatuswhere
RawVecInner: UnwindSafe,
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