pub struct SchedulingSolution {
pub schedule: Vec<ScheduledInterval>,
pub makespan: i64,
}Expand description
Solution to a scheduling problem
Fields§
§schedule: Vec<ScheduledInterval>Scheduled intervals with start times
makespan: i64Makespan (latest end time)
Trait Implementations§
Source§impl Clone for SchedulingSolution
impl Clone for SchedulingSolution
Source§fn clone(&self) -> SchedulingSolution
fn clone(&self) -> SchedulingSolution
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 SchedulingSolution
impl Debug for SchedulingSolution
Source§impl<'de> Deserialize<'de> for SchedulingSolution
impl<'de> Deserialize<'de> for SchedulingSolution
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 SchedulingSolution
impl RefUnwindSafe for SchedulingSolution
impl Send for SchedulingSolution
impl Sync for SchedulingSolution
impl Unpin for SchedulingSolution
impl UnsafeUnpin for SchedulingSolution
impl UnwindSafe for SchedulingSolution
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