pub enum PipelineExpr {
Single(String),
Pipe(Box<PipelineExpr>, Box<PipelineExpr>),
Sequential(Box<PipelineExpr>, Box<PipelineExpr>),
Parallel(Vec<PipelineExpr>),
}Expand description
Pipeline expression AST.
Variants§
Single(String)
A single workflow reference (by name or ID).
Pipe(Box<PipelineExpr>, Box<PipelineExpr>)
w1 | w2 — pipe output of left into right.
Sequential(Box<PipelineExpr>, Box<PipelineExpr>)
w1 && w2 — run right only if left succeeds.
Parallel(Vec<PipelineExpr>)
w1, w2, w3 — run all concurrently.
Trait Implementations§
Source§impl Clone for PipelineExpr
impl Clone for PipelineExpr
Source§fn clone(&self) -> PipelineExpr
fn clone(&self) -> PipelineExpr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PipelineExpr
impl Debug for PipelineExpr
Source§impl<'de> Deserialize<'de> for PipelineExpr
impl<'de> Deserialize<'de> for PipelineExpr
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PipelineExpr
impl PartialEq for PipelineExpr
Source§fn eq(&self, other: &PipelineExpr) -> bool
fn eq(&self, other: &PipelineExpr) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PipelineExpr
impl Serialize for PipelineExpr
impl StructuralPartialEq for PipelineExpr
Auto Trait Implementations§
impl Freeze for PipelineExpr
impl RefUnwindSafe for PipelineExpr
impl Send for PipelineExpr
impl Sync for PipelineExpr
impl Unpin for PipelineExpr
impl UnsafeUnpin for PipelineExpr
impl UnwindSafe for PipelineExpr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more