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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Erasable for T
impl<T> Erasable for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more