pub struct EnvPair {
pub key: String,
pub value: String,
pub line: usize,
}Expand description
A parsed key-value pair from a .env file.
Fields§
§key: StringThe environment variable key.
value: StringThe environment variable value.
line: usizeThe 1-based line number where this pair was found.
Trait Implementations§
impl Eq for EnvPair
impl StructuralPartialEq for EnvPair
Auto Trait Implementations§
impl Freeze for EnvPair
impl RefUnwindSafe for EnvPair
impl Send for EnvPair
impl Sync for EnvPair
impl Unpin for EnvPair
impl UnsafeUnpin for EnvPair
impl UnwindSafe for EnvPair
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