Struct cli::types::EnvValueConditioned
source · pub struct EnvValueConditioned {
pub value: String,
pub condition: Option<TaskCondition>,
}
Expand description
Env value set if condition is met
Fields§
§value: String
The value to set (can be an env expression)
condition: Option<TaskCondition>
The condition to validate
Trait Implementations§
source§impl Clone for EnvValueConditioned
impl Clone for EnvValueConditioned
source§fn clone(&self) -> EnvValueConditioned
fn clone(&self) -> EnvValueConditioned
Returns a copy 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 moresource§impl Debug for EnvValueConditioned
impl Debug for EnvValueConditioned
source§impl<'de> Deserialize<'de> for EnvValueConditioned
impl<'de> Deserialize<'de> for EnvValueConditioned
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