pub enum ArmDef {
Name(String),
Step {
step: String,
handler: Option<String>,
args: Option<Value>,
},
}Expand description
An arm or stage in a join_all or pipe — either a bare handler name string,
or a full step object with step, optional handler, and optional args.
Variants§
Name(String)
Bare string: the name is both the step label and the handler name.
Step
Full step object: step is the label, handler overrides the name, args injected.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ArmDef
impl<'de> Deserialize<'de> for ArmDef
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 ArmDef
impl RefUnwindSafe for ArmDef
impl Send for ArmDef
impl Sync for ArmDef
impl Unpin for ArmDef
impl UnsafeUnpin for ArmDef
impl UnwindSafe for ArmDef
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