pub struct PluginSkill {
pub metadata: PluginSkillMetadata,
pub content: String,
pub base_dir: String,
pub source: String,
pub file_path: String,
}Expand description
A skill loaded from a plugin
Fields§
§metadata: PluginSkillMetadata§content: StringThe skill content (markdown)
base_dir: StringThe base directory for this skill
source: StringSource plugin name
file_path: StringPath to the SKILL.md file
Trait Implementations§
Source§impl Clone for PluginSkill
impl Clone for PluginSkill
Source§fn clone(&self) -> PluginSkill
fn clone(&self) -> PluginSkill
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PluginSkill
impl RefUnwindSafe for PluginSkill
impl Send for PluginSkill
impl Sync for PluginSkill
impl Unpin for PluginSkill
impl UnsafeUnpin for PluginSkill
impl UnwindSafe for PluginSkill
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