pub struct PluginConfigEntry {
pub name: String,
pub enabled: Option<bool>,
pub web_ui_enabled: Option<bool>,
pub command: Option<String>,
pub args: Vec<String>,
pub url: Option<String>,
pub settings: BTreeMap<String, Value>,
pub startup: PluginStartupConfig,
}Fields§
§name: String§enabled: Option<bool>§web_ui_enabled: Option<bool>§command: Option<String>§args: Vec<String>§url: Option<String>Optional URL passed to the plugin as MESH_LLM_PLUGIN_URL.
settings: BTreeMap<String, Value>§startup: PluginStartupConfigImplementations§
Source§impl PluginConfigEntry
impl PluginConfigEntry
pub const fn web_ui_preference( &self, declares_web_ui: bool, ) -> PluginWebUiPreference
Trait Implementations§
Source§impl Clone for PluginConfigEntry
impl Clone for PluginConfigEntry
Source§fn clone(&self) -> PluginConfigEntry
fn clone(&self) -> PluginConfigEntry
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 PluginConfigEntry
impl Debug for PluginConfigEntry
Source§impl<'de> Deserialize<'de> for PluginConfigEntry
impl<'de> Deserialize<'de> for PluginConfigEntry
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 PluginConfigEntry
impl RefUnwindSafe for PluginConfigEntry
impl Send for PluginConfigEntry
impl Sync for PluginConfigEntry
impl Unpin for PluginConfigEntry
impl UnsafeUnpin for PluginConfigEntry
impl UnwindSafe for PluginConfigEntry
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