pub struct HookEntryStatus {
pub event_type: String,
pub action: HookAction,
}Expand description
Status of a single hook event entry after installation.
Fields§
§event_type: StringThe hook event type (e.g. "PreToolUse", "UserPromptSubmit", "Stop").
action: HookActionWhether the entry was newly added or replaced an existing OpenLatch entry.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HookEntryStatus
impl RefUnwindSafe for HookEntryStatus
impl Send for HookEntryStatus
impl Sync for HookEntryStatus
impl Unpin for HookEntryStatus
impl UnsafeUnpin for HookEntryStatus
impl UnwindSafe for HookEntryStatus
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