pub struct StepSpec {
pub id: String,
pub title: String,
pub body: String,
pub needs: Vec<String>,
pub labels: Vec<String>,
}Expand description
A step in a sequential workflow.
Fields§
§id: StringStep identifier (unique within workflow).
title: StringTask title (supports {{variable}} substitution).
body: StringTask body/description (supports {{variable}} substitution).
needs: Vec<String>IDs of steps this step depends on.
labels: Vec<String>Optional labels to add to the task.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StepSpec
impl<'de> Deserialize<'de> for StepSpec
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
Auto Trait Implementations§
impl Freeze for StepSpec
impl RefUnwindSafe for StepSpec
impl Send for StepSpec
impl Sync for StepSpec
impl Unpin for StepSpec
impl UnwindSafe for StepSpec
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