pub struct SkillTargetStatus {
pub scope: Option<SkillScope>,
pub skills_dir: PathBuf,
pub skill_dir: PathBuf,
pub skill_path: PathBuf,
pub installed: bool,
pub managed: bool,
pub valid: bool,
pub current: bool,
pub validation_error: Option<String>,
}Expand description
Per-target outcome of status / install.
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.
installed: boolWhether a skill file exists at skill_path.
managed: boolWhether the installed file was generated by this tool (or is byte-equal to the bundle).
valid: boolWhether the installed file has valid front matter.
current: boolWhether the installed content matches the bundled skill (up to date).
validation_error: Option<String>Front-matter validation error, when the installed file is invalid.
Trait Implementations§
Source§impl Clone for SkillTargetStatus
impl Clone for SkillTargetStatus
Source§impl Debug for SkillTargetStatus
impl Debug for SkillTargetStatus
Auto Trait Implementations§
impl Forget for SkillTargetStatus
impl Freeze for SkillTargetStatus
impl Move for SkillTargetStatus
impl RefUnwindSafe for SkillTargetStatus
impl Send for SkillTargetStatuswhere
RawVecInner: Send,
impl Sync for SkillTargetStatuswhere
RawVecInner: Sync,
impl Unpin for SkillTargetStatus
impl UnsafeUnpin for SkillTargetStatus
impl UnwindSafe for SkillTargetStatuswhere
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