pub struct RuntimeSkillIndex {
pub name: String,
pub description: String,
pub triggers: Vec<String>,
pub estimated_tokens: usize,
pub source: SkillSource,
}Expand description
Lightweight skill index entry for Level 0 progressive disclosure.
Contains only the metadata needed to inject into a system prompt, without loading the full Markdown body.
Fields§
§name: StringUnique name identifier for the skill.
description: StringHuman-readable description of what the skill does.
triggers: Vec<String>Keywords or patterns that activate this skill.
estimated_tokens: usizeEstimated token count for this skill’s Level 0 entry (name + description).
source: SkillSourceWhere this skill was discovered from.
Trait Implementations§
Source§impl Clone for SkillIndex
impl Clone for SkillIndex
Source§fn clone(&self) -> SkillIndex
fn clone(&self) -> SkillIndex
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 moreAuto Trait Implementations§
impl Freeze for SkillIndex
impl RefUnwindSafe for SkillIndex
impl Send for SkillIndex
impl Sync for SkillIndex
impl Unpin for SkillIndex
impl UnsafeUnpin for SkillIndex
impl UnwindSafe for SkillIndex
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