Trait config::ConfigurationSection
source · pub trait ConfigurationSection: Configuration + AsRef<dyn Configuration> + Borrow<dyn Configuration> + Deref<Target = dyn Configuration> {
// Required methods
fn key(&self) -> &str;
fn path(&self) -> &str;
fn value(&self) -> Value;
}
Expand description
Defines the behavior for a section of application configuration values.
Required Methods§
sourcefn path(&self) -> &str
fn path(&self) -> &str
Gets the full path to this section within the Configuration
.