This commit is contained in:
Astro 2022-12-17 00:21:40 +01:00
parent 170ff43d1c
commit b416009f7c
1 changed files with 2 additions and 1 deletions

View File

@ -15,11 +15,12 @@ use serde::Deserialize;
mod jabber;
#[derive(Deserialize, Clone, Debug)]
#[allow(non_snake_case)]
struct Alert {
generatorURL: String,
startsAt: String,
annotations: AlertAnnotations,
labels: HashMap<String, String>,
// labels: HashMap<String, String>,
}
#[derive(Deserialize, Clone, Debug)]