Struct config::Config [] [src]

pub struct Config { /* fields omitted */ }

Methods

impl Config
[src]

Merge in configuration values from the given source.

Sets the default value for this key. The default value is only used when no other value is provided.

Sets an override for this key.

Refresh the configuration cache with fresh data from associated sources.

Configuration is automatically refreshed after a mutation operation (set, merge, set_default, etc.).

Trait Implementations

impl Default for Config
[src]

Returns the "default value" for a type. Read more