TodoList
Defined in the planning module.Rust AI Agent SDK A todo list.
Fields
| Name | Type | Description |
|---|---|---|
name | String | List name |
items | Vec<TodoItem> | Items in the list |
Methods
new
| Name | Type |
|---|---|
name | impl Into<String> |
add
| Name | Type |
|---|---|
item | TodoItem |
get
| Name | Type |
|---|---|
id | &str |
get_mut
| Name | Type |
|---|---|
id | &str |
remove
| Name | Type |
|---|---|
id | &str |
pending
completed
overdue
by_tag
| Name | Type |
|---|---|
tag | &str |
by_priority
| Name | Type |
|---|---|
priority | TodoPriority |
len
is_empty
progress
Source
View on GitHub
praisonai/src/planning/mod.rs at line 311
