pub struct Request<'a> {
pub activity: ActivityId,
pub priority: u32,
pub window: Window,
pub demands: &'a [Demand],
}Expand description
An activity the greedy scheduler should place.
Fields§
§activity: ActivityIdThe id the placed impacts are tagged with.
priority: u32Higher values are placed first. Ties go to the smaller activity id, then to the earlier request.
window: WindowThe allowed starts.
demands: &'a [Demand]The effects of the activity, relative to its start.
Trait Implementations§
impl<'a> Copy for Request<'a>
impl<'a> Eq for Request<'a>
impl<'a> StructuralPartialEq for Request<'a>
Auto Trait Implementations§
impl<'a> Forget for Request<'a>
impl<'a> Freeze for Request<'a>
impl<'a> Move for Request<'a>
impl<'a> RefUnwindSafe for Request<'a>
impl<'a> Send for Request<'a>
impl<'a> Sync for Request<'a>
impl<'a> Unpin for Request<'a>
impl<'a> UnsafeUnpin for Request<'a>
impl<'a> UnwindSafe for Request<'a>
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