Struct dotenv_build::Config[][src]

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 Path

The filename that is getting read for the environment variables. Defaults to .env

recursive_search: bool

This specifies if we should search for the file recursively upwards in the file tree. Defaults to true.

fail_if_missing_dotenv: bool

This specifies if we should return an error if we don’t find the file. Defaults to false.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.