pub struct TaskFrontmatter {Show 14 fields
pub id: String,
pub name: String,
pub status: TaskStatus,
pub depends_on: Vec<String>,
pub priority: Option<String>,
pub tags: Vec<String>,
pub created: Option<DateTime<Utc>>,
pub modified: Option<DateTime<Utc>>,
pub assignee: Option<String>,
pub due: Option<String>,
pub scope: Option<TaskScope>,
pub risk: Option<TaskRisk>,
pub impact: Option<TaskImpact>,
pub level: Option<TaskLevel>,
}Expand description
Parsed frontmatter from a task file.
Fields§
§id: StringUnique task identifier.
name: StringHuman-readable task name.
status: TaskStatusTask status.
depends_on: Vec<String>Tasks this task depends on.
priority: Option<String>Task priority.
Task tags.
created: Option<DateTime<Utc>>Creation timestamp.
modified: Option<DateTime<Utc>>Last modification timestamp.
assignee: Option<String>Task assignee.
due: Option<String>Due date.
scope: Option<TaskScope>Task scope - how many files/components affected.
risk: Option<TaskRisk>Task risk - likelihood of failure or iteration.
impact: Option<TaskImpact>Task impact - consequence if task fails.
level: Option<TaskLevel>Task level - type of work.
Trait Implementations§
Source§impl Clone for TaskFrontmatter
impl Clone for TaskFrontmatter
Source§fn clone(&self) -> TaskFrontmatter
fn clone(&self) -> TaskFrontmatter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TaskFrontmatter
impl Debug for TaskFrontmatter
Source§impl<'de> Deserialize<'de> for TaskFrontmatter
impl<'de> Deserialize<'de> for TaskFrontmatter
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 TaskFrontmatter
impl RefUnwindSafe for TaskFrontmatter
impl Send for TaskFrontmatter
impl Sync for TaskFrontmatter
impl Unpin for TaskFrontmatter
impl UnsafeUnpin for TaskFrontmatter
impl UnwindSafe for TaskFrontmatter
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