pub enum LevelingReason {
ResourceOverallocated {
resource: ResourceId,
peak_demand: f32,
capacity: f32,
dates: Vec<NaiveDate>,
},
DependencyChain {
predecessor: TaskId,
predecessor_delay: i64,
},
}Expand description
Structured reason for a leveling delay
Variants§
ResourceOverallocated
Task delayed due to resource overallocation
DependencyChain
Task delayed because predecessor was delayed (cascade)
Trait Implementations§
Source§impl Clone for LevelingReason
impl Clone for LevelingReason
Source§fn clone(&self) -> LevelingReason
fn clone(&self) -> LevelingReason
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 LevelingReason
impl Debug for LevelingReason
Auto Trait Implementations§
impl Freeze for LevelingReason
impl RefUnwindSafe for LevelingReason
impl Send for LevelingReason
impl Sync for LevelingReason
impl Unpin for LevelingReason
impl UnwindSafe for LevelingReason
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