pub struct PluginManifest {
pub name: String,
pub enabled: bool,
pub system_prompt_prefix: Option<String>,
pub system_prompt_suffix: Option<String>,
pub allow_tools: Vec<String>,
pub deny_tools: Vec<String>,
pub shell_env: HashMap<String, String>,
pub tool_output_suffix: Option<String>,
}Fields§
§name: String§enabled: bool§system_prompt_prefix: Option<String>§system_prompt_suffix: Option<String>§allow_tools: Vec<String>§deny_tools: Vec<String>§shell_env: HashMap<String, String>§tool_output_suffix: Option<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 · 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 Default for PluginManifest
impl Default for PluginManifest
Source§fn default() -> PluginManifest
fn default() -> PluginManifest
Returns the “default value” for a type. Read more
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