pub struct Skill {
pub name: String,
pub metadata: SkillMetadata,
pub body: String,
pub source: PathBuf,
}Expand description
A loaded skill definition.
Fields§
§name: StringSkill name (derived from filename without extension).
metadata: SkillMetadataMetadata from frontmatter.
body: StringThe prompt template body.
source: PathBufSource file path.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Skill
impl RefUnwindSafe for Skill
impl Send for Skill
impl Sync for Skill
impl Unpin for Skill
impl UnsafeUnpin for Skill
impl UnwindSafe for Skill
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