pub struct ToolExecutorConfig {
pub log_results: bool,
pub allow_failure: bool,
}Expand description
工具执行器配置
Fields§
§log_results: bool是否记录工具调用结果
allow_failure: bool是否允许工具调用失败
Trait Implementations§
Source§impl Clone for ToolExecutorConfig
impl Clone for ToolExecutorConfig
Source§fn clone(&self) -> ToolExecutorConfig
fn clone(&self) -> ToolExecutorConfig
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 ToolExecutorConfig
impl Debug for ToolExecutorConfig
Auto Trait Implementations§
impl Freeze for ToolExecutorConfig
impl RefUnwindSafe for ToolExecutorConfig
impl Send for ToolExecutorConfig
impl Sync for ToolExecutorConfig
impl Unpin for ToolExecutorConfig
impl UnsafeUnpin for ToolExecutorConfig
impl UnwindSafe for ToolExecutorConfig
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