pub struct Task {
pub project: String,
pub tier: u8,
pub priority: Priority,
pub text: String,
pub line: Option<i64>,
pub key: Option<String>,
pub group: Option<String>,
pub due: Option<i64>,
pub tagged_urgent: bool,
pub signal_urgent: bool,
pub age_days: i64,
pub eligible: bool,
}Fields§
§project: String§tier: u8§priority: Priority§text: String§line: Option<i64>TODO.md line; None for signal tasks.
key: Option<String>What pma dispatch works on: an item’s key, or ci. None for
signals agents cannot act on.
group: Option<String>The nearest ### heading above the item.
due: Option<i64>Day number of due:.
tagged_urgent: bool§signal_urgent: bool§age_days: i64§eligible: boolWhether an agent may take it: the ci and deps signals at any tier,
and items tagged #agent. Importance orders the queue; this decides
what is dispatched from it.
Trait Implementations§
impl StructuralPartialEq for Task
Auto Trait Implementations§
impl Freeze for Task
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnsafeUnpin for Task
impl UnwindSafe for Task
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