pub struct PostToolUseContext {
pub tool_name: String,
pub arguments: Value,
pub output: Value,
}Expand description
Context passed to post-tool-use (success) hooks.
Fields§
§tool_name: StringTool name.
arguments: ValueTool arguments.
output: ValueTool output.
Trait Implementations§
Source§impl Clone for PostToolUseContext
impl Clone for PostToolUseContext
Source§fn clone(&self) -> PostToolUseContext
fn clone(&self) -> PostToolUseContext
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 PostToolUseContext
impl RefUnwindSafe for PostToolUseContext
impl Send for PostToolUseContext
impl Sync for PostToolUseContext
impl Unpin for PostToolUseContext
impl UnsafeUnpin for PostToolUseContext
impl UnwindSafe for PostToolUseContext
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