Hastic standalone
https://hastic.io
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
416 B
18 lines
416 B
use serde::{Deserialize, Serialize}; |
|
|
|
#[derive(Debug, Serialize, Deserialize, Clone)] |
|
pub struct PatternConfig { |
|
pub correlation_score: f32, |
|
pub model_score: f32 |
|
} |
|
|
|
#[derive(Debug, Serialize, Deserialize, Clone)] |
|
pub struct ThresholdConfig { |
|
pub threashold: f64, |
|
} |
|
|
|
#[derive(Debug, Serialize, Deserialize, Clone)] |
|
pub enum AnalyticUnitConfig { |
|
Pattern(PatternConfig), |
|
Threshold(ThresholdConfig) |
|
} |