pub struct LoadedPlugin {Show 21 fields
pub name: String,
pub manifest: PluginManifest,
pub path: String,
pub source: String,
pub repository: String,
pub enabled: Option<bool>,
pub is_builtin: Option<bool>,
pub sha: Option<String>,
pub commands_path: Option<String>,
pub commands_paths: Option<Vec<String>>,
pub commands_metadata: Option<HashMap<String, CommandMetadata>>,
pub agents_path: Option<String>,
pub agents_paths: Option<Vec<String>>,
pub skills_path: Option<String>,
pub skills_paths: Option<Vec<String>>,
pub output_styles_path: Option<String>,
pub output_styles_paths: Option<Vec<String>>,
pub hooks_config: Option<Value>,
pub mcp_servers: Option<HashMap<String, Value>>,
pub lsp_servers: Option<HashMap<String, Value>>,
pub settings: Option<HashMap<String, Value>>,
}Expand description
A loaded plugin.
Fields§
§name: String§manifest: PluginManifest§path: String§source: String§repository: StringRepository identifier
enabled: Option<bool>§is_builtin: Option<bool>True for built-in plugins that ship with the CLI
sha: Option<String>Git commit SHA for version pinning
commands_path: Option<String>§commands_paths: Option<Vec<String>>§commands_metadata: Option<HashMap<String, CommandMetadata>>§agents_path: Option<String>§agents_paths: Option<Vec<String>>§skills_path: Option<String>§skills_paths: Option<Vec<String>>§output_styles_path: Option<String>§output_styles_paths: Option<Vec<String>>§hooks_config: Option<Value>§mcp_servers: Option<HashMap<String, Value>>§lsp_servers: Option<HashMap<String, Value>>§settings: Option<HashMap<String, Value>>Trait Implementations§
Source§impl Clone for LoadedPlugin
impl Clone for LoadedPlugin
Source§fn clone(&self) -> LoadedPlugin
fn clone(&self) -> LoadedPlugin
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 LoadedPlugin
impl Debug for LoadedPlugin
Source§impl<'de> Deserialize<'de> for LoadedPlugin
impl<'de> Deserialize<'de> for LoadedPlugin
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 LoadedPlugin
impl RefUnwindSafe for LoadedPlugin
impl Send for LoadedPlugin
impl Sync for LoadedPlugin
impl Unpin for LoadedPlugin
impl UnsafeUnpin for LoadedPlugin
impl UnwindSafe for LoadedPlugin
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