pub struct ExecutionStep {
pub id: String,
pub description: String,
pub action: StepAction,
pub risk_score: RiskScore,
pub dependencies: Vec<String>,
pub rollback_action: Option<RollbackAction>,
pub status: StepStatus,
}Expand description
A single step in an execution plan
Fields§
§id: StringUnique identifier for the step
description: StringHuman-readable description of the step
action: StepActionThe action to perform
risk_score: RiskScoreRisk score for this specific step
dependencies: Vec<String>IDs of steps that must complete before this one
rollback_action: Option<RollbackAction>Optional rollback action to undo this step
status: StepStatusCurrent status of the step
Implementations§
Source§impl ExecutionStep
impl ExecutionStep
Sourcepub fn new(description: String, action: StepAction) -> Self
pub fn new(description: String, action: StepAction) -> Self
Create a new execution step
Trait Implementations§
Source§impl Clone for ExecutionStep
impl Clone for ExecutionStep
Source§fn clone(&self) -> ExecutionStep
fn clone(&self) -> ExecutionStep
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecutionStep
impl Debug for ExecutionStep
Source§impl<'de> Deserialize<'de> for ExecutionStep
impl<'de> Deserialize<'de> for ExecutionStep
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 ExecutionStep
impl RefUnwindSafe for ExecutionStep
impl Send for ExecutionStep
impl Sync for ExecutionStep
impl Unpin for ExecutionStep
impl UnwindSafe for ExecutionStep
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