[][src]Struct cargo_suity::configuration::Workflow

pub struct Workflow {
    pub name: Option<String>,
    pub features: Option<Vec<String>>,
    pub format: Option<OutputFormat>,
    pub output: Option<PathBuf>,
    pub doc: Option<bool>,
    pub unit: Option<bool>,
    pub integration: Option<Vec<String>>,
}

Fields

name: Option<String>

Override workflow name

features: Option<Vec<String>>

List of features to pass to cargo.

format: Option<OutputFormat>

Report format.

output: Option<PathBuf>

Output directory. Default ./test-results/

doc: Option<bool>

Run Doc-Tests or not. Default true.

unit: Option<bool>

Run Unit-Tests or not. Default true.

integration: Option<Vec<String>>

List of integration tests to run. Default all of them.

Methods

impl Workflow[src]

pub fn merge(self, name: String, right: &Runspec) -> Runspec[src]

Merge default run configuration and defined workflow.

Trait Implementations

impl Clone for Workflow[src]

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

Performs copy-assignment from source. Read more

impl Default for Workflow[src]

impl Debug for Workflow[src]

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

Auto Trait Implementations

impl Send for Workflow

impl Sync for Workflow

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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