todo_tree/core/file_result.rs
1//! TODO items found in a single file.
2
3use super::todo_item::TodoItem;
4use serde::{Deserialize, Serialize};
5
6/// TODO items found in a single file.
7#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
8pub struct FileResult {
9 /// The file's path, as a display string.
10 pub path: String,
11 /// The TODO items found in the file.
12 pub items: Vec<TodoItem>,
13}