1 2 3 4 5 6 7 8 9 10 11 12 13
#![allow(clippy::module_inception)] use serde::Deserialize; use crate::config::postgres::Postgres; use super::email::SMTP; #[derive(Deserialize)] pub struct Config { pub postgres: Postgres, pub smtp: Option<SMTP>, }