pub struct RuleTrace {
pub rule_id: String,
pub duration: Duration,
pub confidence: Option<f32>,
}Expand description
Per-rule trace entry produced by diagnose_traced.
Fields§
§rule_id: StringStable identifier of the rule (matches Rule::id).
duration: DurationWall-clock duration of Rule::evaluate for this case.
confidence: Option<f32>Confidence emitted, or None if the rule did not fire.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RuleTrace
impl RefUnwindSafe for RuleTrace
impl Send for RuleTrace
impl Sync for RuleTrace
impl Unpin for RuleTrace
impl UnsafeUnpin for RuleTrace
impl UnwindSafe for RuleTrace
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