pub enum StringOrEnv {
Literal(String),
Env(String),
}Expand description
A string value that may reference an environment variable.
Variants§
Trait Implementations§
Source§impl Clone for StringOrEnv
impl Clone for StringOrEnv
Source§fn clone(&self) -> StringOrEnv
fn clone(&self) -> StringOrEnv
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StringOrEnv
impl RefUnwindSafe for StringOrEnv
impl Send for StringOrEnv
impl Sync for StringOrEnv
impl Unpin for StringOrEnv
impl UnsafeUnpin for StringOrEnv
impl UnwindSafe for StringOrEnv
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