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: Vec<String>,
pub dependencies: Vec<DependencyRef>,
pub tools: Option<Vec<String>>,
pub policies: Option<PoliciesConfig>,
pub skills: Option<Vec<String>>,
pub agents: Option<Vec<String>>,
pub mcp_servers: Option<McpServersConfig>,
pub lsp_servers: Option<LspServersConfig>,
pub prompt_sections: Option<Vec<String>>,
pub output_styles: Option<Vec<String>>,
pub settings: Option<HashMap<String, Value>>,
pub user_config: Option<HashMap<String, UserConfigOption>>,
}Expand description
Parsed plugin.json — the plugin’s self-describing manifest.
Fields§
§name: String§version: Option<String>§description: Option<String>§homepage: Option<String>§repository: Option<String>§license: Option<String>§keywords: Vec<String>§dependencies: Vec<DependencyRef>§tools: Option<Vec<String>>§policies: Option<PoliciesConfig>§skills: Option<Vec<String>>§agents: Option<Vec<String>>§mcp_servers: Option<McpServersConfig>§lsp_servers: Option<LspServersConfig>§prompt_sections: Option<Vec<String>>§output_styles: Option<Vec<String>>§settings: Option<HashMap<String, Value>>§user_config: Option<HashMap<String, UserConfigOption>>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