pub enum SkillSource {
Project,
Inherited,
PersonalCopilot,
PersonalAgents,
Plugin,
Custom,
Builtin,
Unknown,
}Expand description
Source location type (e.g., project, personal-copilot, plugin, builtin)
Variants§
Project
Skill defined in the current project’s skill directories.
Inherited
Skill discovered from a parent directory in the current workspace tree.
PersonalCopilot
Skill defined in the user’s Copilot skill directory.
PersonalAgents
Skill defined in the user’s personal agents skill directory.
Plugin
Skill provided by an installed plugin.
Custom
Skill loaded from a configured custom skill directory.
Builtin
Skill bundled with the runtime.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for SkillSource
impl Clone for SkillSource
Source§fn clone(&self) -> SkillSource
fn clone(&self) -> SkillSource
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 SkillSource
impl Debug for SkillSource
Source§impl Default for SkillSource
impl Default for SkillSource
Source§fn default() -> SkillSource
fn default() -> SkillSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SkillSource
impl<'de> Deserialize<'de> for SkillSource
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
Source§impl PartialEq for SkillSource
impl PartialEq for SkillSource
Source§fn eq(&self, other: &SkillSource) -> bool
fn eq(&self, other: &SkillSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SkillSource
impl Serialize for SkillSource
impl Eq for SkillSource
impl StructuralPartialEq for SkillSource
Auto Trait Implementations§
impl Freeze for SkillSource
impl RefUnwindSafe for SkillSource
impl Send for SkillSource
impl Sync for SkillSource
impl Unpin for SkillSource
impl UnsafeUnpin for SkillSource
impl UnwindSafe for SkillSource
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