pub struct PlanStatus {
pub plan_id: PlanId,
pub deliverables: Vec<(String, DeliverableStatus)>,
pub critical_path: Vec<String>,
pub critical_path_hours: f32,
pub locks_held: Vec<LockInfo>,
}Expand description
Read-only snapshot of a plan’s current state, returned by
crate::ports::Planner::status.
Fields§
§plan_id: PlanId§deliverables: Vec<(String, DeliverableStatus)>Per-deliverable status. Order matches insertion order in the
originally submitted PlanGraph::deliverables so callers can
render a stable table.
critical_path: Vec<String>Ids on the longest dependency chain, in execution order. Empty when the plan has no deliverables.
critical_path_hours: f32Sum of estimated_effort_hours along critical_path. Deliverables
without an estimate contribute zero.
locks_held: Vec<LockInfo>Every lock currently active across the plan.
Trait Implementations§
Source§impl Clone for PlanStatus
impl Clone for PlanStatus
Source§fn clone(&self) -> PlanStatus
fn clone(&self) -> PlanStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlanStatus
impl Debug for PlanStatus
Source§impl<'de> Deserialize<'de> for PlanStatus
impl<'de> Deserialize<'de> for PlanStatus
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 PlanStatus
impl RefUnwindSafe for PlanStatus
impl Send for PlanStatus
impl Sync for PlanStatus
impl Unpin for PlanStatus
impl UnsafeUnpin for PlanStatus
impl UnwindSafe for PlanStatus
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