(config: State<'_, SMTPConfig>)
| 189 | |
| 190 | #[tauri::command] |
| 191 | fn get_smtp_config(config: State<'_, SMTPConfig>) -> configuration::SMTPConfig { |
| 192 | config.lock().unwrap().clone() |
| 193 | } |
| 194 | |
| 195 | #[tauri::command] |
| 196 | fn set_smtp_config(config_state: State<'_, SMTPConfig>, config: configuration::SMTPConfig) { |