pub struct TaskRequest {
pub sources: Vec<SourceName>,
pub filters: Filters,
pub project: ProjectSelector,
pub priorities: Vec<Priority>,
pub paging: Paging,
}Expand description
A request for a page of tasks.
Fields§
§sources: Vec<SourceName>Which sources to address. Empty means the configuration’s own selection.
filters: FiltersWhat to keep.
project: ProjectSelectorWhich project the tasks belong to.
priorities: Vec<Priority>Priorities to keep: a task matches when its priority is any one of these. Empty means unfiltered.
Here rather than in Filters, because a project has no priority: the filters a
project list shares with a task list are the ones both kinds of item carry.
paging: PagingWhich page.
Trait Implementations§
Source§impl Clone for TaskRequest
impl Clone for TaskRequest
Auto Trait Implementations§
impl Freeze for TaskRequest
impl RefUnwindSafe for TaskRequest
impl Send for TaskRequest
impl Sync for TaskRequest
impl Unpin for TaskRequest
impl UnsafeUnpin for TaskRequest
impl UnwindSafe for TaskRequest
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