pub struct EnvTarget {
pub file: PathBuf,
pub var: String,
pub previous: Option<String>,
}Expand description
One variable in one .env file that holds a clone’s URL.
Fields§
§file: PathBufAbsolute path.
var: String§previous: Option<String>The value the variable had before (None: the line did not exist).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EnvTarget
impl<'de> Deserialize<'de> for EnvTarget
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for EnvTarget
Auto Trait Implementations§
impl Freeze for EnvTarget
impl RefUnwindSafe for EnvTarget
impl Send for EnvTarget
impl Sync for EnvTarget
impl Unpin for EnvTarget
impl UnsafeUnpin for EnvTarget
impl UnwindSafe for EnvTarget
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