pub struct SkillOverride {
pub enabled: Option<bool>,
pub hats: Vec<String>,
pub backends: Vec<String>,
pub tags: Vec<String>,
pub auto_inject: Option<bool>,
}Expand description
Per-skill configuration override.
Allows enabling/disabling individual skills and overriding their frontmatter fields (hats, backends, tags, auto_inject).
Fields§
§enabled: Option<bool>Disable a discovered skill.
hats: Vec<String>Restrict skill to specific hats.
backends: Vec<String>Restrict skill to specific backends.
Tags for categorization.
auto_inject: Option<bool>Inject full content into prompt (not just index entry).
Trait Implementations§
Source§impl Clone for SkillOverride
impl Clone for SkillOverride
Source§impl Debug for SkillOverride
impl Debug for SkillOverride
Source§impl Default for SkillOverride
impl Default for SkillOverride
Source§impl<'de> Deserialize<'de> for SkillOverride
impl<'de> Deserialize<'de> for SkillOverride
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for SkillOverride
impl Freeze for SkillOverride
impl RefUnwindSafe for SkillOverride
impl Send for SkillOverride
impl Sync for SkillOverride
impl Unpin for SkillOverride
impl UnsafeUnpin for SkillOverride
impl UnwindSafe for SkillOverride
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