c4fb0432ae
GitOrigin-RevId: 3fc1143a04da49a92c3663813c6a0c1e8ccd477f
12 lines
277 B
Rust
12 lines
277 B
Rust
use serde::Deserialize;
|
|
use std::collections::HashSet;
|
|
|
|
#[derive(Deserialize)]
|
|
pub struct Config {
|
|
pub database_url: String,
|
|
pub irc_config_path: String,
|
|
#[serde(default)]
|
|
pub admins: HashSet<String>,
|
|
#[serde(default)]
|
|
pub log_filter: Option<String>,
|
|
}
|