pub struct SkillTargetStatus {
pub agent: SkillAgent,
pub scope: 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§
§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.
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§fn clone(&self) -> SkillTargetStatus
fn clone(&self) -> SkillTargetStatus
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 SkillTargetStatus
impl Debug for SkillTargetStatus
Auto Trait Implementations§
impl Freeze for SkillTargetStatus
impl RefUnwindSafe for SkillTargetStatus
impl Send for SkillTargetStatus
impl Sync for SkillTargetStatus
impl Unpin for SkillTargetStatus
impl UnsafeUnpin for SkillTargetStatus
impl UnwindSafe for SkillTargetStatus
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