pub struct PostToolUseTarget {
pub response: Map<String, Value>,
pub label: String,
}Expand description
A successful Bash result the Claude Code PostToolUse hook may shrink.
Fields§
§response: Map<String, Value>The tool’s result object. A replacement must keep its shape, so
only stdout and stderr should change.
label: StringThe stats and formatter label for its output.
Trait Implementations§
Source§impl Clone for PostToolUseTarget
impl Clone for PostToolUseTarget
Source§fn clone(&self) -> PostToolUseTarget
fn clone(&self) -> PostToolUseTarget
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 moreSource§impl Debug for PostToolUseTarget
impl Debug for PostToolUseTarget
Source§impl PartialEq for PostToolUseTarget
impl PartialEq for PostToolUseTarget
impl StructuralPartialEq for PostToolUseTarget
Auto Trait Implementations§
impl Freeze for PostToolUseTarget
impl RefUnwindSafe for PostToolUseTarget
impl Send for PostToolUseTarget
impl Sync for PostToolUseTarget
impl Unpin for PostToolUseTarget
impl UnsafeUnpin for PostToolUseTarget
impl UnwindSafe for PostToolUseTarget
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