pub struct RuleCoverage {
    pub rule_hits: HashMap<String, usize>,
    pub rule_facts: HashMap<String, HashSet<String>>,
    pub tested_facts: HashSet<String>,
}Fields§
§rule_hits: HashMap<String, usize>Tên rule -> số lần được kích hoạt
rule_facts: HashMap<String, HashSet<String>>Tên rule -> facts đã test
tested_facts: HashSet<String>Facts đã test toàn bộ
Implementations§
Trait Implementations§
Source§impl Debug for RuleCoverage
 
impl Debug for RuleCoverage
Source§impl Default for RuleCoverage
 
impl Default for RuleCoverage
Source§fn default() -> RuleCoverage
 
fn default() -> RuleCoverage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RuleCoverage
impl RefUnwindSafe for RuleCoverage
impl Send for RuleCoverage
impl Sync for RuleCoverage
impl Unpin for RuleCoverage
impl UnwindSafe for RuleCoverage
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