pub struct ReloadPlugins {
pub add_plugins: Vec<Value>,
pub hold_on_cache_impact: bool,
pub refuse_if_busy: bool,
}Expand description
Options of Session::reload_plugins.
Fields§
§add_plugins: Vec<Value>Plugins to load as well, in the Initialize::plugins shape.
hold_on_cache_impact: boolSkip the reload when it would change the tool list the prompt cache depends on.
refuse_if_busy: boolFail with reload_plugins_busy instead of reloading during a turn.
Trait Implementations§
Source§impl Clone for ReloadPlugins
impl Clone for ReloadPlugins
Source§impl Debug for ReloadPlugins
impl Debug for ReloadPlugins
Auto Trait Implementations§
impl Forget for ReloadPlugins
impl Freeze for ReloadPlugins
impl Move for ReloadPlugins
impl RefUnwindSafe for ReloadPlugins
impl Send for ReloadPlugins
impl Sync for ReloadPlugins
impl Unpin for ReloadPlugins
impl UnsafeUnpin for ReloadPlugins
impl UnwindSafe for ReloadPlugins
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