pub struct ShiftedTask {
pub task_id: TaskId,
pub original_start: NaiveDate,
pub new_start: NaiveDate,
pub days_shifted: i64,
pub reason: LevelingReason,
pub resources_involved: Vec<ResourceId>,
}Expand description
A task that was shifted during leveling
Fields§
§task_id: TaskId§original_start: NaiveDate§new_start: NaiveDate§days_shifted: i64§reason: LevelingReasonStructured reason for the delay (RFC-0003)
resources_involved: Vec<ResourceId>Resources involved in the conflict
Trait Implementations§
Source§impl Clone for ShiftedTask
impl Clone for ShiftedTask
Source§fn clone(&self) -> ShiftedTask
fn clone(&self) -> ShiftedTask
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 ShiftedTask
impl RefUnwindSafe for ShiftedTask
impl Send for ShiftedTask
impl Sync for ShiftedTask
impl Unpin for ShiftedTask
impl UnwindSafe for ShiftedTask
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