pub struct LevelingResult {
pub original_schedule: Schedule,
pub leveled_schedule: Schedule,
pub shifted_tasks: Vec<ShiftedTask>,
pub unresolved_conflicts: Vec<UnresolvedConflict>,
pub project_extended: bool,
pub new_project_end: NaiveDate,
pub metrics: LevelingMetrics,
pub diagnostics: Vec<Diagnostic>,
}Expand description
Result of resource leveling (RFC-0003 compliant)
Fields§
§original_schedule: ScheduleOriginal schedule (preserved, authoritative)
leveled_schedule: ScheduleLeveled schedule (delta transformation)
shifted_tasks: Vec<ShiftedTask>Tasks that were shifted (each with structured reason)
unresolved_conflicts: Vec<UnresolvedConflict>Conflicts that could not be resolved
project_extended: boolWhether the project duration was extended
new_project_end: NaiveDateNew project end date
metrics: LevelingMetricsMetrics summarizing the transformation
diagnostics: Vec<Diagnostic>Diagnostics emitted during leveling (L001-L004)
Implementations§
Trait Implementations§
Source§impl Clone for LevelingResult
impl Clone for LevelingResult
Source§fn clone(&self) -> LevelingResult
fn clone(&self) -> LevelingResult
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 moreAuto Trait Implementations§
impl Freeze for LevelingResult
impl RefUnwindSafe for LevelingResult
impl Send for LevelingResult
impl Sync for LevelingResult
impl Unpin for LevelingResult
impl UnwindSafe for LevelingResult
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