mirror of
https://github.com/OMGeeky/backup_config.git
synced 2025-12-26 16:07:46 +01:00
add notifier_url
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "twba-backup-config"
|
||||
version = "0.1.7"
|
||||
version = "0.1.8"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
@@ -53,6 +53,8 @@ impl Conf {
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Config)]
|
||||
pub struct Notifier {
|
||||
/// The URL where the notifier service is reachable under.
|
||||
pub notifier_url: String,
|
||||
/// The URL for the webhook
|
||||
pub webhook_url: Option<String>,
|
||||
pub smtp: Option<Smtp>,
|
||||
|
||||
Reference in New Issue
Block a user