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

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.

Implementations

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]

impl Debug for Workflow[src]

impl Default for Workflow[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.