Skip to main content

TrendDetector

Trait TrendDetector 

Source
pub trait TrendDetector {
    // Required methods
    fn detect_trends(
        &self,
        spending_data: &[SpendingRecord],
    ) -> DeviceResult<TrendDetectionResult>;
    fn get_detector_name(&self) -> String;
}
Expand description

Trend detector trait

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§