pub struct MockAnalyticsEngine;Expand description
Mock AnalyticsEngine for testing
Trait Implementations§
Source§impl AnalyticsEngine for MockAnalyticsEngine
impl AnalyticsEngine for MockAnalyticsEngine
Source§fn track_adoption(&self, rule_id: &str) -> Result<AdoptionMetrics>
fn track_adoption(&self, rule_id: &str) -> Result<AdoptionMetrics>
Track adoption metrics for a rule
Source§fn track_effectiveness(&self, rule_id: &str) -> Result<EffectivenessMetrics>
fn track_effectiveness(&self, rule_id: &str) -> Result<EffectivenessMetrics>
Track effectiveness metrics for a rule
Auto Trait Implementations§
impl Freeze for MockAnalyticsEngine
impl RefUnwindSafe for MockAnalyticsEngine
impl Send for MockAnalyticsEngine
impl Sync for MockAnalyticsEngine
impl Unpin for MockAnalyticsEngine
impl UnwindSafe for MockAnalyticsEngine
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