pub struct NorthConfigOptions {
pub sources: Vec<ConfigSource>,
}Expand description
§NorthConfigOptions
Represents the available options for initializing a NorthConfig.
§Fields
sources: A list of available configuration sources from the environment.- Type:
Vec<ConfigSource> - Description: The potential sources of configuration data from the environment.
- Default: An empty vector (
Vec::new())
- Type:
Fields§
§sources: Vec<ConfigSource>a list of available env sources
Implementations§
Source§impl NorthConfigOptions
impl NorthConfigOptions
pub fn new(sources: Vec<ConfigSource>) -> NorthConfigOptions
Trait Implementations§
Source§impl Clone for NorthConfigOptions
impl Clone for NorthConfigOptions
Source§fn clone(&self) -> NorthConfigOptions
fn clone(&self) -> NorthConfigOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NorthConfigOptions
impl Debug for NorthConfigOptions
Source§impl Default for NorthConfigOptions
impl Default for NorthConfigOptions
Source§fn default() -> NorthConfigOptions
fn default() -> NorthConfigOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for NorthConfigOptions
impl !UnwindSafe for NorthConfigOptions
impl Freeze for NorthConfigOptions
impl Send for NorthConfigOptions
impl Sync for NorthConfigOptions
impl Unpin for NorthConfigOptions
impl UnsafeUnpin for NorthConfigOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more