pub trait FromConfigWithPrefix: FromConfig {
    // Required method
    fn prefix() -> &'static str;
}
Expand description

Config with prefix. This trait is auto derived by FromConfig.

Required Methods§

source

fn prefix() -> &'static str

Predefined key of config, so you don’t have to provide it.

Implementors§