pub struct PostToolUseInput {
pub tool_name: String,
pub tool_input: String,
pub pending_session_file: String,
pub session_id: String,
}Expand description
Input for PostToolUse hook (session handshake).
Fields§
§tool_name: StringThe tool that was used.
tool_input: StringThe tool input (JSON).
pending_session_file: StringPath to the pending session ID signal file.
session_id: StringThe session ID to record.
Trait Implementations§
Source§impl Clone for PostToolUseInput
impl Clone for PostToolUseInput
Source§fn clone(&self) -> PostToolUseInput
fn clone(&self) -> PostToolUseInput
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 PostToolUseInput
impl RefUnwindSafe for PostToolUseInput
impl Send for PostToolUseInput
impl Sync for PostToolUseInput
impl Unpin for PostToolUseInput
impl UnsafeUnpin for PostToolUseInput
impl UnwindSafe for PostToolUseInput
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