alert-me/src/json/alerts.rs
2024-05-08 18:12:49 +02:00

11 lines
256 B
Rust

use super::alert::Alert;
use serde::{Deserialize, Serialize};
#[derive(Debug, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Alerts {
pub heartbeat_age_in_millis: u64,
pub render_time: String,
pub alerts: Vec<Alert>,
}