pub struct Task {Show 19 fields
pub id: TaskId,
pub project_name: String,
pub subject: String,
pub active_form: Option<String>,
pub detail: Option<String>,
pub status: TaskStatus,
pub owner: Option<SessionSlot>,
pub parent: Option<TaskId>,
pub waiting_on: Option<Waiting>,
pub estimate: Option<Estimate>,
pub rank: Option<i64>,
pub verify: Option<Verify>,
pub attested: Option<Attestation>,
pub reserved: Option<ReservedBy>,
pub links: Vec<TaskLink>,
pub attempt: u32,
pub archived_at: Option<SystemTime>,
pub created_at: SystemTime,
pub updated_at: SystemTime,
}Expand description
One piece of live work in one project.
Fields§
§id: TaskId§project_name: String§subject: String§active_form: Option<String>The in-progress wording. The renderer uses it for a running row, so it is carried rather than derived.
detail: Option<String>§status: TaskStatus§owner: Option<SessionSlot>The session holding it. None is unclaimed.
parent: Option<TaskId>The task this one belongs under, in the same project.
waiting_on: Option<Waiting>Why this row cannot proceed, when status is waiting.
estimate: Option<Estimate>§rank: Option<i64>Queue order; lower reads first, ties break by creation.
verify: Option<Verify>The user-look gate the row was minted with. An epic’s gate governs the epic’s own completion; a child never inherits it.
attested: Option<Attestation>The lead’s attestation when it completed the look on the user’s
behalf; None for the user’s own approve and for rows never gated.
reserved: Option<ReservedBy>The user reserved this row’s pick: the sweep leaves it for them.
links: Vec<TaskLink>§attempt: u32Claims and send-backs, so a loop is visible.
archived_at: Option<SystemTime>Set when the tree archived; archived rows are history, not live work.
created_at: SystemTime§updated_at: SystemTimeTrait Implementations§
Source§impl<'de> Deserialize<'de> for Task
impl<'de> Deserialize<'de> for Task
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>,
impl Eq for Task
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.