pub struct ExecutionEvent {
pub timestamp: SystemTime,
pub rule_name: String,
pub fired: bool,
pub duration: Duration,
pub success: bool,
pub error: Option<String>,
}Expand description
Execution event for timeline analysis
Fields§
§timestamp: SystemTimeWhen this event occurred
rule_name: StringName of the rule that was executed
fired: boolWhether the rule fired
duration: DurationExecution time
success: boolWhether the execution was successful
error: Option<String>Error message if execution failed
Trait Implementations§
Source§impl Clone for ExecutionEvent
impl Clone for ExecutionEvent
Source§fn clone(&self) -> ExecutionEvent
fn clone(&self) -> ExecutionEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecutionEvent
impl Debug for ExecutionEvent
Source§impl<'de> Deserialize<'de> for ExecutionEvent
impl<'de> Deserialize<'de> for ExecutionEvent
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
Auto Trait Implementations§
impl Freeze for ExecutionEvent
impl RefUnwindSafe for ExecutionEvent
impl Send for ExecutionEvent
impl Sync for ExecutionEvent
impl Unpin for ExecutionEvent
impl UnwindSafe for ExecutionEvent
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