pub struct LeafTask {
pub id: TaskId,
pub name: String,
pub duration_days: i64,
pub effort: Option<Duration>,
pub assigned: Vec<(String, f32)>,
pub wbs_path: Vec<TaskId>,
pub qualified_id: String,
pub is_milestone: bool,
pub complete: Option<f32>,
pub dependencies: Vec<LeafDependency>,
}Expand description
A leaf task extracted from the WBS
Fields§
§id: TaskIdTask identifier
name: StringDisplay name
duration_days: i64Duration in working days (computed from effort if needed)
effort: Option<Duration>Original effort (person-time)
assigned: Vec<(String, f32)>Assigned resource IDs with units
wbs_path: Vec<TaskId>Path from root (for WBS reconstruction)
qualified_id: StringOriginal task reference path (qualified ID)
is_milestone: boolWhether this is a milestone
complete: Option<f32>Completion percentage
dependencies: Vec<LeafDependency>Dependencies from original task
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LeafTask
impl RefUnwindSafe for LeafTask
impl Send for LeafTask
impl Sync for LeafTask
impl Unpin for LeafTask
impl UnwindSafe for LeafTask
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