pub struct Skill {
pub description: String,
pub enabled: bool,
pub name: String,
pub path: Option<String>,
pub plugin_name: Option<String>,
pub source: SkillSource,
pub user_invocable: bool,
}Expand description
Schema for the Skill type.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§description: StringDescription of what the skill does
enabled: boolWhether the skill is currently enabled
name: StringUnique identifier for the skill
path: Option<String>Absolute path to the skill file
plugin_name: Option<String>Name of the plugin that provides the skill, when source is ‘plugin’
source: SkillSourceSource location type (e.g., project, personal-copilot, plugin, builtin)
user_invocable: boolWhether the skill can be invoked by the user as a slash command
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Skill
impl<'de> Deserialize<'de> for Skill
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 Skill
impl RefUnwindSafe for Skill
impl Send for Skill
impl Sync for Skill
impl Unpin for Skill
impl UnsafeUnpin for Skill
impl UnwindSafe for Skill
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