pub struct HookStartData {
pub hook_invocation_id: String,
pub hook_type: String,
pub input: Option<Value>,
}Expand description
Hook invocation start details including type and input data
Fields§
§hook_invocation_id: StringUnique identifier for this hook invocation
hook_type: StringType of hook being invoked (e.g., “preToolUse”, “postToolUse”, “sessionStart”)
input: Option<Value>Input data passed to the hook
Trait Implementations§
Source§impl Clone for HookStartData
impl Clone for HookStartData
Source§fn clone(&self) -> HookStartData
fn clone(&self) -> HookStartData
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 moreSource§impl Debug for HookStartData
impl Debug for HookStartData
Source§impl<'de> Deserialize<'de> for HookStartData
impl<'de> Deserialize<'de> for HookStartData
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 HookStartData
impl RefUnwindSafe for HookStartData
impl Send for HookStartData
impl Sync for HookStartData
impl Unpin for HookStartData
impl UnsafeUnpin for HookStartData
impl UnwindSafe for HookStartData
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