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