pub struct SkillInvokedData {
pub allowed_tools: Vec<String>,
pub content: String,
pub description: Option<String>,
pub name: String,
pub path: String,
pub plugin_name: Option<String>,
pub plugin_version: Option<String>,
}Expand description
Skill invocation details including content, allowed tools, and plugin metadata
Fields§
§allowed_tools: Vec<String>Tool names that should be auto-approved when this skill is active
content: StringFull content of the skill file, injected into the conversation for the model
description: Option<String>Description of the skill from its SKILL.md frontmatter
name: StringName of the invoked skill
path: StringFile path to the SKILL.md definition
plugin_name: Option<String>Name of the plugin this skill originated from, when applicable
plugin_version: Option<String>Version of the plugin this skill originated from, when applicable
Trait Implementations§
Source§impl Clone for SkillInvokedData
impl Clone for SkillInvokedData
Source§fn clone(&self) -> SkillInvokedData
fn clone(&self) -> SkillInvokedData
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 SkillInvokedData
impl Debug for SkillInvokedData
Source§impl<'de> Deserialize<'de> for SkillInvokedData
impl<'de> Deserialize<'de> for SkillInvokedData
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 SkillInvokedData
impl RefUnwindSafe for SkillInvokedData
impl Send for SkillInvokedData
impl Sync for SkillInvokedData
impl Unpin for SkillInvokedData
impl UnsafeUnpin for SkillInvokedData
impl UnwindSafe for SkillInvokedData
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