Mountain/IPC/Enhanced/PerformanceDashboard/
PerformanceAlert.rs1#![allow(non_snake_case)]
2
3use serde::{Deserialize, Serialize};
8
9use crate::IPC::Enhanced::PerformanceDashboard::{AlertSeverity, MetricType};
10
11#[derive(Debug, Clone, Serialize, Deserialize)]
12pub struct Struct {
13 pub alert_id:String,
14
15 pub metric_type:MetricType::Enum,
16
17 pub threshold:f64,
18
19 pub current_value:f64,
20
21 pub timestamp:u64,
22
23 pub channel:Option<String>,
24
25 pub severity:AlertSeverity::Enum,
26
27 pub message:String,
28}