pub struct Config<'a> {
pub filename: &'a Path,
pub recursive_search: bool,
pub fail_if_missing_dotenv: bool,
}Expand description
Config for output
Fields§
§filename: &'a PathThe filename that is getting read for the environment variables. Defaults to .env
recursive_search: boolThis specifies if we should search for the file recursively upwards in the file tree.
Defaults to true.
fail_if_missing_dotenv: boolThis specifies if we should return an error if we don’t find the file. Defaults to false.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Config<'a>
impl<'a> RefUnwindSafe for Config<'a>
impl<'a> Send for Config<'a>
impl<'a> Sync for Config<'a>
impl<'a> Unpin for Config<'a>
impl<'a> UnwindSafe for Config<'a>
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