pub struct SkillEntry {
pub name: String,
pub description: String,
pub content: String,
pub source: SkillSource,
pub hats: Vec<String>,
pub backends: Vec<String>,
pub tags: Vec<String>,
pub auto_inject: bool,
}Expand description
A discovered skill with parsed frontmatter and content.
Fields§
§name: StringUnique identifier (derived from filename or frontmatter name).
description: StringHuman-readable description from frontmatter.
content: StringFull markdown content (frontmatter stripped).
source: SkillSourceSource: built-in or filesystem path.
hats: Vec<String>Optional: restrict to specific hats.
backends: Vec<String>Optional: restrict to specific backends.
Optional: tags for categorization.
auto_inject: boolWhether to inject full content into every prompt (not just index entry).
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