MutationKind#
The kind of task an update entry describes: a regular task, a summary or a milestone. It's the type of the Mutation::kind field, and it matches the task's TaskType in the input data.
Declaration#
With the serde feature, MutationKind implements Serialize and Deserialize. Variants are written in kebab-case: "task", "summary", "milestone".
Variants#
| Variant | Serialized | Description |
|---|---|---|
Task |
"task" |
The entry belongs to a regular task (TaskType::Task). |
Summary |
"summary" |
The entry belongs to a summary task (TaskType::Summary). |
Milestone |
"milestone" |
The entry belongs to a milestone (TaskType::Milestone). |
For how an entry is fed back into the project, see Mutation.
Example#
Schedule a summary with one task and a closing milestone, then group the update entries by kind:
use ;
Related#
Mutation- holds the kind as itskindfieldTaskType- the input type the kind mirrors- Reading results - reads update entries from a result