[][src]Struct cli::types::RunTaskRoutingInfo

pub struct RunTaskRoutingInfo {
    pub name: String,
    pub fork: Option<bool>,
    pub condition: Option<TaskCondition>,
    pub condition_script: Option<Vec<String>>,
}

Holds the run task routing information

Fields

name: String

The task name

fork: Option<bool>

True to fork the task to a new sub process

condition: Option<TaskCondition>

if provided all condition values must be met in order for the task to be invoked

condition_script: Option<Vec<String>>

if script exit code is not 0, the task will not be invoked

Trait Implementations

impl Clone for RunTaskRoutingInfo[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for RunTaskRoutingInfo[src]

impl Serialize for RunTaskRoutingInfo[src]

impl<'de> Deserialize<'de> for RunTaskRoutingInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]