pub struct PluginManifest {
pub name: String,
pub version: Option<String>,
pub description: Option<String>,
pub skills: Vec<String>,
pub agents: Vec<String>,
pub hooks: Vec<String>,
pub mcp: Vec<String>,
pub capabilities: Vec<String>,
pub prompts: Vec<String>,
pub bin: Vec<String>,
}Fields§
§name: String§version: Option<String>§description: Option<String>§skills: Vec<String>§agents: Vec<String>§hooks: Vec<String>§mcp: Vec<String>§capabilities: Vec<String>Capabilities the plugin declares it uses (e.g. “network”, “filesystem”).
ADVISORY ONLY — surfaced at install/enable time for informed consent, not
enforced. A plugin hook is a native child process running with the user’s
privileges; the runtime cannot confine it to this list without OS-level
sandboxing, so the field documents intent rather than granting a sandbox.
The real boundary is the explicit mermaid plugin enable decision.
prompts: Vec<String>§bin: Vec<String>Trait Implementations§
Source§impl Clone for PluginManifest
impl Clone for PluginManifest
Source§fn clone(&self) -> PluginManifest
fn clone(&self) -> PluginManifest
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 PluginManifest
impl Debug for PluginManifest
Source§impl<'de> Deserialize<'de> for PluginManifest
impl<'de> Deserialize<'de> for PluginManifest
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
impl Eq for PluginManifest
Source§impl PartialEq for PluginManifest
impl PartialEq for PluginManifest
Source§impl Serialize for PluginManifest
impl Serialize for PluginManifest
impl StructuralPartialEq for PluginManifest
Auto Trait Implementations§
impl Freeze for PluginManifest
impl RefUnwindSafe for PluginManifest
impl Send for PluginManifest
impl Sync for PluginManifest
impl Unpin for PluginManifest
impl UnsafeUnpin for PluginManifest
impl UnwindSafe for PluginManifest
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