alert2muc/src/apprise_notify.rs
2022-12-28 01:27:49 +01:00

11 lines
248 B
Rust

use askama::Template;
use serde::Deserialize;
#[derive(Debug, Clone, Deserialize, Template)]
#[template(path="apprise_notify.txt", escape="none")]
pub struct Notification {
pub title: String,
pub message: String,
pub r#type: String,
}