pub struct RuleExecutionContext {
pub rule: Rule,
pub fired: bool,
pub error: Option<String>,
pub execution_time: Duration,
}Expand description
Rule execution context for parallel processing
Fields§
§rule: RuleThe rule that was executed
fired: boolWhether the rule fired successfully
error: Option<String>Error message if execution failed
execution_time: DurationTime taken to execute this rule
Trait Implementations§
Source§impl Clone for RuleExecutionContext
impl Clone for RuleExecutionContext
Source§fn clone(&self) -> RuleExecutionContext
fn clone(&self) -> RuleExecutionContext
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 moreAuto Trait Implementations§
impl Freeze for RuleExecutionContext
impl RefUnwindSafe for RuleExecutionContext
impl Send for RuleExecutionContext
impl Sync for RuleExecutionContext
impl Unpin for RuleExecutionContext
impl UnwindSafe for RuleExecutionContext
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