11 lines
256 B
Rust
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>,
|
|
}
|