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


Platform names (linux, windows, mac)

Channel names (stable, beta, nightly)

Environment variables which must be defined

Environment variables which must not be defined

Environment variables and their values

Trait Implementations

impl Debug for TaskCondition

Formats the value using the given formatter. Read more

impl Clone for TaskCondition

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for TaskCondition

impl Sync for TaskCondition