1 2 3 4 5 6 7
use serde_derive::Deserialize; #[derive(Deserialize)] pub struct Config { pub payload: Option<String>, pub send_to: Option<String>, }