pub struct HookOutput {
pub hook_specific_output: Option<HookSpecificOutput>,
pub cont: Option<bool>,
pub suppress_output: Option<bool>,
pub system_message: Option<String>,
}Expand description
Claude Code hook output. Field names are camelCase to match CC’s contract
(the shared protocol HookResponse is snake_case and server-facing; this is
the CLI-local shape used only for hook stdout).
Fields§
§hook_specific_output: Option<HookSpecificOutput>§cont: Option<bool>§suppress_output: Option<bool>§system_message: Option<String>A message Claude Code shows the user (not the model).
Implementations§
Source§impl HookOutput
impl HookOutput
Trait Implementations§
Source§impl Debug for HookOutput
impl Debug for HookOutput
Auto Trait Implementations§
impl Forget for HookOutput
impl Freeze for HookOutput
impl Move for HookOutput
impl RefUnwindSafe for HookOutput
impl Send for HookOutput
impl Sync for HookOutput
impl Unpin for HookOutput
impl UnsafeUnpin for HookOutput
impl UnwindSafe for HookOutput
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