pub struct HookEndData {
pub error: Option<HookEndError>,
pub hook_invocation_id: String,
pub hook_type: String,
pub output: Option<Value>,
pub success: bool,
}Expand description
Hook invocation completion details including output, success status, and error information
Fields§
§error: Option<HookEndError>Error details when the hook failed
hook_invocation_id: StringIdentifier matching the corresponding hook.start event
hook_type: StringType of hook that was invoked (e.g., “preToolUse”, “postToolUse”, “sessionStart”)
output: Option<Value>Output data produced by the hook
success: boolWhether the hook completed successfully
Trait Implementations§
Source§impl Clone for HookEndData
impl Clone for HookEndData
Source§fn clone(&self) -> HookEndData
fn clone(&self) -> HookEndData
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 HookEndData
impl Debug for HookEndData
Source§impl<'de> Deserialize<'de> for HookEndData
impl<'de> Deserialize<'de> for HookEndData
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 HookEndData
impl RefUnwindSafe for HookEndData
impl Send for HookEndData
impl Sync for HookEndData
impl Unpin for HookEndData
impl UnsafeUnpin for HookEndData
impl UnwindSafe for HookEndData
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