pub struct OverallocationPeriod {
pub start: NaiveDate,
pub end: NaiveDate,
pub peak_usage: f32,
pub involved_tasks: Vec<TaskId>,
}Expand description
A period of resource over-allocation
Fields§
§start: NaiveDate§end: NaiveDate§peak_usage: f32§involved_tasks: Vec<TaskId>Trait Implementations§
Source§impl Clone for OverallocationPeriod
impl Clone for OverallocationPeriod
Source§fn clone(&self) -> OverallocationPeriod
fn clone(&self) -> OverallocationPeriod
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 OverallocationPeriod
impl RefUnwindSafe for OverallocationPeriod
impl Send for OverallocationPeriod
impl Sync for OverallocationPeriod
impl Unpin for OverallocationPeriod
impl UnwindSafe for OverallocationPeriod
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