pub struct PlanStep {
pub id: StepId,
pub name: String,
pub activity: ActivitySpec,
pub inputs: HashMap<String, Value>,
pub outputs: Vec<String>,
pub dependencies: Vec<StepId>,
}Expand description
A single step within a plan
Fields§
§id: StepIdUnique identifier for this step
name: StringHuman-readable name for the step
activity: ActivitySpecThe activity to execute for this step
inputs: HashMap<String, Value>Input data for the activity
outputs: Vec<String>Expected output keys
dependencies: Vec<StepId>IDs of steps this step depends on
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PlanStep
impl<'de> Deserialize<'de> for PlanStep
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 PlanStep
impl RefUnwindSafe for PlanStep
impl Send for PlanStep
impl Sync for PlanStep
impl Unpin for PlanStep
impl UnwindSafe for PlanStep
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