pub struct ToolRuntime {
pub store: Option<Arc<dyn Store>>,
pub stream_writer: Option<StreamWriter>,
pub state: Option<Value>,
pub tool_call_id: String,
pub config: Option<RunnableConfig>,
}Expand description
Tool execution runtime context.
Fields§
§store: Option<Arc<dyn Store>>§stream_writer: Option<StreamWriter>§state: Option<Value>§tool_call_id: String§config: Option<RunnableConfig>Trait Implementations§
Source§impl Clone for ToolRuntime
impl Clone for ToolRuntime
Source§fn clone(&self) -> ToolRuntime
fn clone(&self) -> ToolRuntime
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 moreAuto Trait Implementations§
impl Freeze for ToolRuntime
impl !RefUnwindSafe for ToolRuntime
impl Send for ToolRuntime
impl Sync for ToolRuntime
impl Unpin for ToolRuntime
impl UnsafeUnpin for ToolRuntime
impl !UnwindSafe for ToolRuntime
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