Skip to main content

Module models

Module models 

Source
Expand description

Core domain types for rustodo.

TypeDescription
TaskA single todo item with all its metadata
NoteA free-form documentation note, optionally linked to a Project, Task, or Resources
ProjectA project entity that groups tasks and notes
ResourceTypeDocs / Article / Video / Repo / Crate / Book / Spec / Tool
PriorityHigh / Medium / Low priority levels
RecurrenceDaily / Weekly / Monthly repeat patterns
StatusFilterFilter tasks by completion status
DueFilterFilter tasks by due-date window
RecurrenceFilterFilter tasks by recurrence pattern
SortBySort order options for task lists

Structs§

Note
A free-form documentation note.
Project
Resource
An independent external reference — a URL, documentation link, or asset.
Task
Represents a single task in the todo list.

Enums§

Difficulty
DueFilter
Filters tasks by their due-date window.
Priority
Priority levels for tasks.
Recurrence
Recurrence pattern for tasks.
RecurrenceFilter
Filters tasks by recurrence pattern.
ResourceType
The kind of external reference a Resource represents.
SortBy
Sort order for todo list.
StatusFilter
Filters tasks by completion status.

Functions§

count_by_project
Counts the tasks of a project by UUID, returning (total, completed).