pub struct AssemblerChoices {
pub dir_name: Option<String>,
pub env_enabled: bool,
pub env_prefix: Option<String>,
pub env_separator: Option<String>,
}Expand description
A simple preference collection accepted by the Assembler facade.
Fields§
§dir_name: Option<String>The dir name/path passed to the Scanner::find_config_files method.
env_enabled: boolWhether to add the Environment source to the ConfigBuilder.
env_prefix: Option<String>If given, defines the prefix to pass to the Environment::prefix
method.
env_separator: Option<String>If given, defines which separator to pass to the Environment::prefix
method.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AssemblerChoices
impl RefUnwindSafe for AssemblerChoices
impl Send for AssemblerChoices
impl Sync for AssemblerChoices
impl Unpin for AssemblerChoices
impl UnwindSafe for AssemblerChoices
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