pub struct TaskBatch {
pub id: String,
pub tasks: Vec<String>,
pub total_effort_hours: f32,
pub duration_hours: f32,
pub start_time: f32,
}Expand description
A batch of tasks that can run in parallel.
Fields§
§id: StringBatch identifier (e.g., “Batch-1”).
tasks: Vec<String>Tasks in this batch (all have same ES).
total_effort_hours: f32Total effort if done sequentially.
duration_hours: f32Actual duration (max of task efforts in batch).
start_time: f32Earliest start time for this batch.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaskBatch
impl<'de> Deserialize<'de> for TaskBatch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TaskBatch
impl RefUnwindSafe for TaskBatch
impl Send for TaskBatch
impl Sync for TaskBatch
impl Unpin for TaskBatch
impl UnsafeUnpin for TaskBatch
impl UnwindSafe for TaskBatch
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