Struct cargo_make::types::TaskCondition
[−]
[src]
pub struct TaskCondition {
pub platforms: Option<Vec<String>>,
pub channels: Option<Vec<String>>,
pub env_set: Option<Vec<String>>,
pub env_not_set: Option<Vec<String>>,
pub env: Option<HashMap<String, String>>,
}Holds condition attributes
Fields
platforms: Option<Vec<String>>
Platform names (linux, windows, mac)
channels: Option<Vec<String>>
Channel names (stable, beta, nightly)
env_set: Option<Vec<String>>
Environment variables which must be defined
env_not_set: Option<Vec<String>>
Environment variables which must not be defined
env: Option<HashMap<String, String>>
Environment variables and their values
Trait Implementations
impl Debug for TaskCondition[src]
impl Clone for TaskCondition[src]
fn clone(&self) -> TaskCondition
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more