pub struct StepDef {
pub name: String,
pub config: StepConfig,
}Expand description
A single step within a workflow definition.
Holds the step name and its serializable configuration.
Fields§
§name: StringHuman-readable step name.
config: StepConfigThe operation configuration for this step.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StepDef
impl<'de> Deserialize<'de> for StepDef
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 StepDef
impl RefUnwindSafe for StepDef
impl Send for StepDef
impl Sync for StepDef
impl Unpin for StepDef
impl UnsafeUnpin for StepDef
impl UnwindSafe for StepDef
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