pub struct StepToolSnapshot {
pub tools: HashMap<String, Arc<dyn Tool>>,
pub descriptors: Vec<ToolDescriptor>,
}Expand description
Tool snapshot resolved for one step.
Fields§
§tools: HashMap<String, Arc<dyn Tool>>Concrete tool map used for this step.
descriptors: Vec<ToolDescriptor>Tool descriptors exposed to plugins/LLM for this step.
Implementations§
Trait Implementations§
Source§impl Clone for StepToolSnapshot
impl Clone for StepToolSnapshot
Source§fn clone(&self) -> StepToolSnapshot
fn clone(&self) -> StepToolSnapshot
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 Default for StepToolSnapshot
impl Default for StepToolSnapshot
Source§fn default() -> StepToolSnapshot
fn default() -> StepToolSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StepToolSnapshot
impl !RefUnwindSafe for StepToolSnapshot
impl Send for StepToolSnapshot
impl Sync for StepToolSnapshot
impl Unpin for StepToolSnapshot
impl UnsafeUnpin for StepToolSnapshot
impl !UnwindSafe for StepToolSnapshot
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