pub struct PreparedToolCall {
pub call: ToolCall,
pub denied: Option<ToolOutput>,
}Expand description
One call in a prepared tool batch.
Fields§
§call: ToolCallCall after every middleware rewrite.
denied: Option<ToolOutput>Present when middleware denied the call and no tool may run.
Trait Implementations§
Source§impl Clone for PreparedToolCall
impl Clone for PreparedToolCall
Auto Trait Implementations§
impl Freeze for PreparedToolCall
impl RefUnwindSafe for PreparedToolCall
impl Send for PreparedToolCall
impl Sync for PreparedToolCall
impl Unpin for PreparedToolCall
impl UnsafeUnpin for PreparedToolCall
impl UnwindSafe for PreparedToolCall
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