pub struct EngineStats {
pub validations: usize,
pub rules_evaluated: usize,
pub rejections: usize,
pub warnings: usize,
pub inferences: usize,
pub forward_iterations: usize,
pub backward_queries: usize,
}Expand description
Collects and stores statistics about the operations performed by the RuleEngine.
Fields§
§validations: usizeThe total number of validation operations performed.
rules_evaluated: usizeThe total number of rules evaluated across all operations.
rejections: usizeThe number of times a validation resulted in a rejection.
warnings: usizeThe number of warnings issued during validation.
inferences: usizeThe total number of new triples inferred.
forward_iterations: usizeThe number of iterations performed during forward chaining.
backward_queries: usizeThe number of backward-chaining queries performed.
Trait Implementations§
Source§impl Clone for EngineStats
impl Clone for EngineStats
Source§fn clone(&self) -> EngineStats
fn clone(&self) -> EngineStats
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 EngineStats
impl Debug for EngineStats
Source§impl Default for EngineStats
impl Default for EngineStats
Source§fn default() -> EngineStats
fn default() -> EngineStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EngineStats
impl RefUnwindSafe for EngineStats
impl Send for EngineStats
impl Sync for EngineStats
impl Unpin for EngineStats
impl UnsafeUnpin for EngineStats
impl UnwindSafe for EngineStats
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