pub struct SkillMeta {
pub name: String,
pub description: String,
pub source: SkillSource,
pub user_invocable: bool,
pub disable_model_invocation: bool,
}Expand description
Metadata for a discovered skill.
Fields§
§name: StringSkill name from SKILL.md frontmatter.
description: StringSkill description from SKILL.md frontmatter.
source: SkillSourceSource location.
user_invocable: boolWhether this skill appears as a user slash command.
disable_model_invocation: boolWhether the model is prevented from invoking this skill automatically.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SkillMeta
impl<'de> Deserialize<'de> for SkillMeta
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 Freeze for SkillMeta
impl RefUnwindSafe for SkillMeta
impl Send for SkillMeta
impl Sync for SkillMeta
impl Unpin for SkillMeta
impl UnsafeUnpin for SkillMeta
impl UnwindSafe for SkillMeta
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