Struct config::Environment [−][src]
pub struct Environment { /* fields omitted */ }
Methods
impl Environment
[src]
impl Environment
pub fn new() -> Self
[src]
pub fn new() -> Self
pub fn with_prefix(s: &str) -> Self
[src]
pub fn with_prefix(s: &str) -> Self
pub fn prefix(self, s: &str) -> Self
[src]
pub fn prefix(self, s: &str) -> Self
pub fn separator(self, s: &str) -> Self
[src]
pub fn separator(self, s: &str) -> Self
Trait Implementations
impl Clone for Environment
[src]
impl Clone for Environment
fn clone(&self) -> Environment
[src]
fn clone(&self) -> Environment
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Environment
[src]
impl Debug for Environment
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Environment
[src]
impl Default for Environment
fn default() -> Environment
[src]
fn default() -> Environment
Returns the "default value" for a type. Read more
impl Source for Environment
[src]
impl Source for Environment
ⓘImportant traits for Box<R>fn clone_into_box(&self) -> Box<Source + Send + Sync>
[src]
ⓘImportant traits for Box<R>
fn clone_into_box(&self) -> Box<Source + Send + Sync>
fn collect(&self) -> Result<HashMap<String, Value>, ConfigError>
[src]
fn collect(&self) -> Result<HashMap<String, Value>, ConfigError>
Collect all configuration properties available from this source and return a HashMap. Read more
fn collect_to(&self, cache: &mut Value) -> Result<(), ConfigError>
[src]
fn collect_to(&self, cache: &mut Value) -> Result<(), ConfigError>
Auto Trait Implementations
impl Send for Environment
impl Send for Environment
impl Sync for Environment
impl Sync for Environment