pub struct LegSpec {
pub id: String,
pub title: String,
pub body: String,
pub labels: Vec<String>,
}Expand description
A leg in a parallel convoy.
Fields§
§id: StringLeg identifier (unique within workflow).
title: StringTask title (supports {{variable}} substitution).
body: StringTask body/description (supports {{variable}} substitution).
labels: Vec<String>Optional labels to add to the task.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LegSpec
impl<'de> Deserialize<'de> for LegSpec
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 LegSpec
impl RefUnwindSafe for LegSpec
impl Send for LegSpec
impl Sync for LegSpec
impl Unpin for LegSpec
impl UnwindSafe for LegSpec
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