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 pub metric_type:MetricType::Enum,
15 pub threshold:f64,
16 pub current_value:f64,
17 pub timestamp:u64,
18 pub channel:Option<String>,
19 pub severity:AlertSeverity::Enum,
20 pub message:String,
21}