pub struct PreToolUseHookInput {
pub base: BaseHookInput,
pub hook_event_name: String,
pub tool_name: String,
pub tool_input: Value,
pub tool_use_id: String,
}Expand description
Input for PreToolUse hook events.
Fields§
§base: BaseHookInputBase fields.
hook_event_name: StringHook event name.
tool_name: StringName of the tool being used.
tool_input: ValueInput to the tool.
tool_use_id: StringTool use ID.
Trait Implementations§
Source§impl Clone for PreToolUseHookInput
impl Clone for PreToolUseHookInput
Source§fn clone(&self) -> PreToolUseHookInput
fn clone(&self) -> PreToolUseHookInput
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 moreSource§impl Debug for PreToolUseHookInput
impl Debug for PreToolUseHookInput
Source§impl<'de> Deserialize<'de> for PreToolUseHookInput
impl<'de> Deserialize<'de> for PreToolUseHookInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PreToolUseHookInput
impl RefUnwindSafe for PreToolUseHookInput
impl Send for PreToolUseHookInput
impl Sync for PreToolUseHookInput
impl Unpin for PreToolUseHookInput
impl UnsafeUnpin for PreToolUseHookInput
impl UnwindSafe for PreToolUseHookInput
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