pub struct ToolExecutionPlan {
pub index: usize,
pub id: String,
pub name: String,
pub input: Value,
pub caller: Option<ToolCaller>,
pub interactive: bool,
pub approval_required: bool,
pub approval_description: String,
pub supports_parallel: bool,
pub read_only: bool,
pub blocked_error: Option<ToolError>,
pub guard_result: Option<ToolResult>,
}Fields§
§index: usize§id: String§name: String§input: Value§caller: Option<ToolCaller>§interactive: bool§approval_required: bool§approval_description: String§supports_parallel: bool§read_only: bool§blocked_error: Option<ToolError>§guard_result: Option<ToolResult>Trait Implementations§
Source§impl Clone for ToolExecutionPlan
impl Clone for ToolExecutionPlan
Source§fn clone(&self) -> ToolExecutionPlan
fn clone(&self) -> ToolExecutionPlan
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 moreAuto Trait Implementations§
impl Freeze for ToolExecutionPlan
impl RefUnwindSafe for ToolExecutionPlan
impl Send for ToolExecutionPlan
impl Sync for ToolExecutionPlan
impl Unpin for ToolExecutionPlan
impl UnsafeUnpin for ToolExecutionPlan
impl UnwindSafe for ToolExecutionPlan
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