pub struct JobList {
pub jobs: Vec<Job>,
}Fields§
§jobs: Vec<Job>Implementations§
Source§impl JobList
impl JobList
Sourcepub fn sorted_by_delivery_time(&self) -> Vec<Job>
pub fn sorted_by_delivery_time(&self) -> Vec<Job>
Returns the Job List sorted by delivery time of this JobList.
Sourcepub fn sorted_by_processing_time(&self) -> Vec<Job>
pub fn sorted_by_processing_time(&self) -> Vec<Job>
Returns the Job List sorted by processing time of this JobList.
Sourcepub fn sorted_by_cooldown_time(&self) -> Vec<Job>
pub fn sorted_by_cooldown_time(&self) -> Vec<Job>
Returns the Job List sorted by cooldown time of this JobList.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JobList
impl RefUnwindSafe for JobList
impl Send for JobList
impl Sync for JobList
impl Unpin for JobList
impl UnwindSafe for JobList
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