pub struct RuleSetReport {
pub changed: bool,
pub rule_reports: HashMap<Arc<str>, Vec<RuleReport>, BuildHasherDefault<FxHasher>>,
pub search_and_apply_time: Duration,
pub merge_time: Duration,
}Fields§
§changed: bool§rule_reports: HashMap<Arc<str>, Vec<RuleReport>, BuildHasherDefault<FxHasher>>§search_and_apply_time: Duration§merge_time: DurationImplementations§
Source§impl RuleSetReport
impl RuleSetReport
pub fn num_matches(&self, rule: &str) -> usize
pub fn rule_search_and_apply_time(&self, rule: &str) -> Duration
Trait Implementations§
Source§impl Clone for RuleSetReport
impl Clone for RuleSetReport
Source§fn clone(&self) -> RuleSetReport
fn clone(&self) -> RuleSetReport
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 RuleSetReport
impl Debug for RuleSetReport
Source§impl Default for RuleSetReport
impl Default for RuleSetReport
Source§fn default() -> RuleSetReport
fn default() -> RuleSetReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RuleSetReport
impl RefUnwindSafe for RuleSetReport
impl Send for RuleSetReport
impl Sync for RuleSetReport
impl Unpin for RuleSetReport
impl UnwindSafe for RuleSetReport
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