pub struct Plugin {
pub manifest: Manifest,
pub dir: PathBuf,
pub builtin: bool,
pub skills: Vec<Skill>,
pub agents: Vec<AgentDef>,
pub commands: Vec<Command>,
pub problems: Vec<String>,
}Expand description
A loaded plugin.
Fields§
§manifest: Manifest§dir: PathBuf§builtin: boolShips with the app (may use native tools).
skills: Vec<Skill>§agents: Vec<AgentDef>Subagent definitions from its agents/*.md (Claude Code format).
commands: Vec<Command>Slash commands from its commands/*.md (Claude Code format).
problems: Vec<String>Non-fatal problems for the plugin’s card (a bad skill, a missing script). The parts that work are still used.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Plugin
Auto Trait Implementations§
impl Forget for Plugin
impl Freeze for Plugin
impl RefUnwindSafe for Plugin
impl Send for Plugin
impl Sync for Plugin
impl Unpin for Plugin
impl UnsafeUnpin for Plugin
impl UnwindSafe for Plugin
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