pub struct SkillEntry {
pub manifest: SkillManifest,
pub body: String,
pub skill_dir: PathBuf,
}Expand description
A fully-loaded skill entry, combining the parsed manifest with the raw body text and the directory it was loaded from.
Fields§
§manifest: SkillManifestThe parsed manifest from the SKILL.md frontmatter.
body: StringThe full SKILL.md content (instructions after the frontmatter).
skill_dir: PathBufThe directory that contains SKILL.md.
Trait Implementations§
Source§impl Clone for SkillEntry
impl Clone for SkillEntry
Source§fn clone(&self) -> SkillEntry
fn clone(&self) -> SkillEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SkillEntry
impl RefUnwindSafe for SkillEntry
impl Send for SkillEntry
impl Sync for SkillEntry
impl Unpin for SkillEntry
impl UnsafeUnpin for SkillEntry
impl UnwindSafe for SkillEntry
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