pub struct PluginManifest {Show 19 fields
pub name: String,
pub version: Option<String>,
pub description: Option<String>,
pub author: Option<PluginAuthor>,
pub homepage: Option<String>,
pub repository: Option<String>,
pub license: Option<String>,
pub keywords: Option<Vec<String>>,
pub dependencies: Option<Vec<String>>,
pub commands: Option<Value>,
pub agents: Option<Value>,
pub skills: Option<Value>,
pub hooks: Option<Value>,
pub output_styles: Option<Value>,
pub channels: Option<Value>,
pub mcp_servers: Option<Value>,
pub lsp_servers: Option<Value>,
pub settings: Option<HashMap<String, Value>>,
pub user_config: Option<HashMap<String, Value>>,
}Expand description
Plugin manifest (plugin.json structure)
Fields§
§name: StringUnique identifier for the plugin (kebab-case recommended)
version: Option<String>§description: Option<String>§homepage: Option<String>§repository: Option<String>§license: Option<String>§keywords: Option<Vec<String>>§dependencies: Option<Vec<String>>§commands: Option<Value>§agents: Option<Value>§skills: Option<Value>§hooks: Option<Value>§output_styles: Option<Value>§channels: Option<Value>§mcp_servers: Option<Value>§lsp_servers: Option<Value>§settings: Option<HashMap<String, Value>>§user_config: Option<HashMap<String, Value>>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 · 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
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