Struct url_bot_rs::config::Conf
source · [−]pub struct Conf {
pub plugins: PluginConfig,
pub network: Network,
pub features: Features,
pub params: Parameters,
pub http_params: Http,
pub database: Database,
pub client: IrcConfig,
pub path: Option<PathBuf>,
}
Fields
plugins: PluginConfig
network: Network
features: Features
params: Parameters
http_params: Http
database: Database
client: IrcConfig
path: Option<PathBuf>
Implementations
add an IRC channel to the list of channels in the configuration
remove an IRC channel from the list of channels in the configuration
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
Auto Trait Implementations
impl RefUnwindSafe for Conf
impl UnwindSafe for Conf
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.