pub struct ServerSkill {
pub description: String,
pub enabled: bool,
pub name: String,
pub path: Option<String>,
pub project_path: Option<String>,
pub source: SkillSource,
pub user_invocable: bool,
}Expand description
Schema for the ServerSkill type.
Fields§
§description: StringDescription of what the skill does
enabled: boolWhether the skill is currently enabled (based on global config)
name: StringUnique identifier for the skill
path: Option<String>Absolute path to the skill file
project_path: Option<String>The project path this skill belongs to (only for project/inherited skills)
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 Clone for ServerSkill
impl Clone for ServerSkill
Source§fn clone(&self) -> ServerSkill
fn clone(&self) -> ServerSkill
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 moreSource§impl Debug for ServerSkill
impl Debug for ServerSkill
Source§impl Default for ServerSkill
impl Default for ServerSkill
Source§fn default() -> ServerSkill
fn default() -> ServerSkill
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServerSkill
impl<'de> Deserialize<'de> for ServerSkill
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 ServerSkill
impl RefUnwindSafe for ServerSkill
impl Send for ServerSkill
impl Sync for ServerSkill
impl Unpin for ServerSkill
impl UnsafeUnpin for ServerSkill
impl UnwindSafe for ServerSkill
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