MCPcopy Create free account
hub / github.com/Recordscript/recordscript / get_smtp_config

Function get_smtp_config

src-tauri/src/main.rs:191–193  ·  view source on GitHub ↗
(config: State<'_, SMTPConfig>)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected