pub struct PostToolUseArgs {
pub config_path: PathBuf,
pub cwd: Option<PathBuf>,
pub tool_name: Option<String>,
pub payload: Option<String>,
}Fields§
§config_path: PathBuf§cwd: Option<PathBuf>§tool_name: Option<String>Name of the tool that just ran (e.g. “Bash”, “Edit”). Optional.
payload: Option<String>Raw payload describing what the tool produced. Truncated when stored. Optional.
Trait Implementations§
Source§impl Clone for PostToolUseArgs
impl Clone for PostToolUseArgs
Source§fn clone(&self) -> PostToolUseArgs
fn clone(&self) -> PostToolUseArgs
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 PostToolUseArgs
impl RefUnwindSafe for PostToolUseArgs
impl Send for PostToolUseArgs
impl Sync for PostToolUseArgs
impl Unpin for PostToolUseArgs
impl UnsafeUnpin for PostToolUseArgs
impl UnwindSafe for PostToolUseArgs
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