[][src]Enum rusty_ci::Step

pub enum Step {
    GitClone {
        url: String,
    },
    GitLabClone {
        url: String,
    },
    Command {
        command: String,
        workdir: Option<String>,
    },
}

This describes a step executed by a builder in buildbot This is used by the Builder struct to construct the Builder config file

Variants

GitClone

Represents a git clone operation

Fields of GitClone

url: String
GitLabClone

Represents a git clone operation targetting gitlab. The reason we need to know specifically about if the clone is from gitlab is because this also handles merge requests

Fields of GitLabClone

url: String
Command

Represents a command line command

Fields of Command

command: Stringworkdir: Option<String>

Methods

impl Step[src]

Implementation of step struct

pub fn command<S: Display>(command: S, workdir: Option<S>) -> Self[src]

Construct a command line step

pub fn git_clone<S: Display>(url: S) -> Self[src]

Construct a git clone step

pub fn gitlab_clone<S: Display>(url: S) -> Self[src]

Construct a gitlab clone step

Trait Implementations

impl Clone for Step[src]

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

Performs copy-assignment from source. Read more

impl Debug for Step[src]

impl Display for Step[src]

Convert Step to String / Allow string formatting for Step

Auto Trait Implementations

impl Unpin for Step

impl Send for Step

impl Sync for Step

impl RefUnwindSafe for Step

impl UnwindSafe for Step

Blanket Implementations

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,