pub enum NotifyEvent {
ApprovalPending {
draft_id: String,
title: String,
stage_id: String,
role: String,
},
PhaseChange {
session_id: String,
from: String,
to: String,
issue: Option<u64>,
},
SessionEnd {
session_id: String,
outcome: String,
duration_minutes: u64,
summary: String,
},
Anomaly {
signal_type: String,
count: usize,
detail: String,
},
}Expand description
Notification event types mapped from edda domain events.
Variants§
Implementations§
Source§impl NotifyEvent
impl NotifyEvent
pub fn event_name(&self) -> &'static str
Auto Trait Implementations§
impl Freeze for NotifyEvent
impl RefUnwindSafe for NotifyEvent
impl Send for NotifyEvent
impl Sync for NotifyEvent
impl Unpin for NotifyEvent
impl UnsafeUnpin for NotifyEvent
impl UnwindSafe for NotifyEvent
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