use std::time::Duration; use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Clone, Debug)] pub struct Config { watch_interval: Duration, } impl Default for Config { fn default() -> Self { Self { watch_interval: Duration::from_secs(60), } } }