pub enum EnvFile {
Path(String),
Info(EnvFileInfo),
}
Expand description
Holds the env file path and attributes
Variants
Path(String)
The file path as string
Info(EnvFileInfo)
Extended info object for env file
Trait Implementations
sourceimpl<'de> Deserialize<'de> for EnvFile
impl<'de> Deserialize<'de> for EnvFile
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for EnvFile
impl Send for EnvFile
impl Sync for EnvFile
impl Unpin for EnvFile
impl UnwindSafe for EnvFile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more