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<IndexMap<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<IndexMap<String, String>>
Environment variables and their values
Trait Implementations
impl Debug for TaskCondition
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for TaskCondition
[src]
fn clone(&self) -> TaskCondition
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more