dotenv_typed/loader/struct.rs
1use super::*;
2
3/// Layered environment configuration source combining `.env` files, explicit overrides, and OS env vars.
4#[derive(Clone, Debug, Default)]
5pub struct EnvConfig {
6 /// Layered key-value pairs where later layers override earlier ones.
7 pub(crate) values: BTreeMap<String, String>,
8 /// Optional key prefix automatically prepended to lookups (e.g. `APP_`).
9 pub(crate) prefix: String,
10}