pub struct HookNotification {
pub hook_name: String,
pub message: String,
pub is_error: bool,
}Expand description
Notification sent from a hook thread back to the TUI.
Fields§
§hook_name: StringName of the hook that ran (e.g. “post-create”). Useful for filtering or deduplicating notifications by event type.
message: String§is_error: boolAuto Trait Implementations§
impl Freeze for HookNotification
impl RefUnwindSafe for HookNotification
impl Send for HookNotification
impl Sync for HookNotification
impl Unpin for HookNotification
impl UnsafeUnpin for HookNotification
impl UnwindSafe for HookNotification
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