1 2 3 4 5 6 7 8 9 10 11 12 13
use myko::prelude::*; /// Append-only comment. id = uuid. #[myko_item] pub struct Comment { pub project_id: String, pub task_id: String, #[searchable] pub body: String, pub by_dev: String, /// RFC3339 pub created: String, }