pub struct HookInput {
pub session_id: Option<String>,
pub hook_event_name: String,
pub tool_name: Option<String>,
pub tool_input: Option<Value>,
pub tool_response: Option<Value>,
pub cwd: Option<String>,
pub permission_mode: Option<String>,
pub extra: Value,
}Fields§
§session_id: Option<String>§hook_event_name: String§tool_name: Option<String>§tool_input: Option<Value>§tool_response: Option<Value>§cwd: Option<String>§permission_mode: Option<String>§extra: ValueImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HookInput
impl<'de> Deserialize<'de> for HookInput
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 Forget for HookInput
impl Freeze for HookInput
impl Move for HookInput
impl RefUnwindSafe for HookInput
impl Send for HookInput
impl Sync for HookInput
impl Unpin for HookInput
impl UnsafeUnpin for HookInput
impl UnwindSafe for HookInput
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