pub struct DayUsage {
pub total_units: f32,
pub tasks: Vec<(TaskId, f32)>,
}Expand description
Resource usage on a specific day
Fields§
§total_units: f32Total units allocated (1.0 = 100%)
tasks: Vec<(TaskId, f32)>Tasks contributing to this usage
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DayUsage
impl RefUnwindSafe for DayUsage
impl Send for DayUsage
impl Sync for DayUsage
impl Unpin for DayUsage
impl UnwindSafe for DayUsage
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