pub struct SkillsLoadedSkill {
pub description: String,
pub enabled: bool,
pub name: String,
pub path: Option<String>,
pub source: String,
pub user_invocable: bool,
}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, if available
source: StringSource location type of the skill (e.g., project, personal, plugin)
user_invocable: boolWhether the skill can be invoked by the user as a slash command
Trait Implementations§
Source§impl Clone for SkillsLoadedSkill
impl Clone for SkillsLoadedSkill
Source§fn clone(&self) -> SkillsLoadedSkill
fn clone(&self) -> SkillsLoadedSkill
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 SkillsLoadedSkill
impl Debug for SkillsLoadedSkill
Source§impl<'de> Deserialize<'de> for SkillsLoadedSkill
impl<'de> Deserialize<'de> for SkillsLoadedSkill
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 SkillsLoadedSkill
impl RefUnwindSafe for SkillsLoadedSkill
impl Send for SkillsLoadedSkill
impl Sync for SkillsLoadedSkill
impl Unpin for SkillsLoadedSkill
impl UnsafeUnpin for SkillsLoadedSkill
impl UnwindSafe for SkillsLoadedSkill
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