pub struct TaskNode {Show 13 fields
pub id: String,
pub title: String,
pub deps: Vec<String>,
pub done_when: String,
pub done_when_predicates: Vec<DoneWhenPredicate>,
pub state: TaskState,
pub category: String,
pub estimated_duration: String,
pub assigned_role: String,
pub escalation_path: String,
pub open_questions: Vec<String>,
pub created_at: String,
pub updated_at: String,
}Expand description
A single node in the task DAG.
Fields§
§id: String§title: String§deps: Vec<String>Ids of tasks that must be Done before this task can transition to Done.
done_when: StringOpaque predicate string interpreted by the evaluator.
done_when_predicates: Vec<DoneWhenPredicate>§state: TaskStateCurrent computed state.
category: String§estimated_duration: String§assigned_role: String§escalation_path: String§open_questions: Vec<String>§created_at: String§updated_at: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for TaskNode
impl<'de> Deserialize<'de> for TaskNode
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TaskNode
impl RefUnwindSafe for TaskNode
impl Send for TaskNode
impl Sync for TaskNode
impl Unpin for TaskNode
impl UnsafeUnpin for TaskNode
impl UnwindSafe for TaskNode
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