cloudiful-notifier 0.2.1

Async notification delivery library for ntfy, generic webhooks, DingTalk robots, and SMTP email.
Documentation
1
2
3
4
5
6
7
8
9
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct DingtalkChannel {
    pub webhook_url: String,
    pub secret: Option<String>,
    #[serde(default)]
    pub keywords: Vec<String>,
}