pub struct FiredEvent {
pub rule_id: RuleId,
pub rule: TowerRule,
pub event: Event,
pub peer: Option<String>,
}Expand description
An event that has passed filter, dedup, and rate checks for a rule.
Handed to the dispatch engine (F4) which captures context, renders the trigger, and records the audit trail.
Fields§
§rule_id: RuleIdThe rule whose predicate matched.
rule: TowerRuleSnapshot of the full rule at fire time, so the dispatch engine (F4) can render the trigger without needing access to the supervisor’s rule map.
event: EventThe matching event.
peer: Option<String>None = from the local scryer; Some(peer) = federated from a remote peer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FiredEvent
impl RefUnwindSafe for FiredEvent
impl Send for FiredEvent
impl Sync for FiredEvent
impl Unpin for FiredEvent
impl UnsafeUnpin for FiredEvent
impl UnwindSafe for FiredEvent
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