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