pub struct PreToolUseHookSpecificOutput {
pub event_name: PreToolUseTag,
pub updated_input: Option<Value>,
}Expand description
hookSpecificOutput shape for PreToolUse hook responses.
Fields§
§event_name: PreToolUseTagFixed "PreToolUse" discriminator on the wire.
updated_input: Option<Value>Substitute input the tool should run with instead of the proposed one.
Trait Implementations§
Source§impl Clone for PreToolUseHookSpecificOutput
impl Clone for PreToolUseHookSpecificOutput
Source§impl Debug for PreToolUseHookSpecificOutput
impl Debug for PreToolUseHookSpecificOutput
Source§impl<'de> Deserialize<'de> for PreToolUseHookSpecificOutput
impl<'de> Deserialize<'de> for PreToolUseHookSpecificOutput
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 PreToolUseHookSpecificOutput
impl RefUnwindSafe for PreToolUseHookSpecificOutput
impl Send for PreToolUseHookSpecificOutput
impl Sync for PreToolUseHookSpecificOutput
impl Unpin for PreToolUseHookSpecificOutput
impl UnsafeUnpin for PreToolUseHookSpecificOutput
impl UnwindSafe for PreToolUseHookSpecificOutput
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