Struct ircservserv::config::BotConfig [−][src]
pub struct BotConfig {
pub channel_config: String,
pub owners: Vec<String>,
pub trusted: Vec<String>,
pub irc: Config,
// some fields omitted
}
Expand description
IRC Bot configuration: config.toml
Fields
channel_config: String
Path to repository with channel configuration
owners: Vec<String>
List of accounts who are owners
trusted: Vec<String>
List of accounts who are trusted
irc: Config
Configuration for the irc
crate
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more