pub enum HookEventKind {
Show 33 variants
PreToolUse,
PostToolUse,
PostToolUseFailure,
PostToolBatch,
Notification,
UserPromptSubmit,
UserPromptExpansion,
SessionStart,
SessionEnd,
Stop,
StopFailure,
SubagentStart,
SubagentStop,
PreCompact,
PostCompact,
PreModelSwitch,
PostModelSwitch,
PermissionRequest,
PermissionDenied,
Setup,
TeammateIdle,
TaskCreated,
TaskCompleted,
Elicitation,
ElicitationResult,
ConfigChange,
WorktreeCreate,
WorktreeRemove,
InstructionsLoaded,
CwdChanged,
FileChanged,
DirectoryAdded,
MessageDisplay,
}Expand description
All 33 hook event kinds. Source: chunk-20bv8pca.js:12053–12087 (N2 array)
Variants§
PreToolUse
PostToolUse
PostToolUseFailure
PostToolBatch
Notification
UserPromptSubmit
UserPromptExpansion
SessionStart
SessionEnd
Stop
StopFailure
SubagentStart
SubagentStop
PreCompact
PostCompact
PreModelSwitch
PostModelSwitch
PermissionRequest
PermissionDenied
Setup
TeammateIdle
TaskCreated
TaskCompleted
Elicitation
ElicitationResult
ConfigChange
WorktreeCreate
WorktreeRemove
InstructionsLoaded
CwdChanged
FileChanged
DirectoryAdded
MessageDisplay
Trait Implementations§
Source§impl Clone for HookEventKind
impl Clone for HookEventKind
Source§impl Debug for HookEventKind
impl Debug for HookEventKind
Source§impl<'de> Deserialize<'de> for HookEventKind
impl<'de> Deserialize<'de> for HookEventKind
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
impl Eq for HookEventKind
Source§impl Hash for HookEventKind
impl Hash for HookEventKind
Source§impl PartialEq for HookEventKind
impl PartialEq for HookEventKind
Source§impl Serialize for HookEventKind
impl Serialize for HookEventKind
impl StructuralPartialEq for HookEventKind
Auto Trait Implementations§
impl Forget for HookEventKind
impl Freeze for HookEventKind
impl Move for HookEventKind
impl RefUnwindSafe for HookEventKind
impl Send for HookEventKind
impl Sync for HookEventKind
impl Unpin for HookEventKind
impl UnsafeUnpin for HookEventKind
impl UnwindSafe for HookEventKind
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