MCPcopy Create free account
hub / github.com/InkSha/rust-tutorial / TodoItem

Class TodoItem

src/todo/core.rs:24–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23#[derive(Deserialize, Serialize)]
24pub struct TodoItem {
25 pub title: String,
26 pub content: String,
27}
28
29pub fn create_todo_item(title: &str, content: &str) -> TodoItem {
30 TodoItem {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected