MCPcopy Create free account
hub / github.com/Rust-Web-Development/code / Question

Class Question

ch_04/final/src/main.rs:14–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13#[derive(Deserialize, Serialize, Debug, Clone)]
14struct Question {
15 id: QuestionId,
16 title: String,
17 content: String,
18 tags: Option<Vec<String>>,
19}
20#[derive(Deserialize, Serialize, Debug, Clone, PartialEq, Eq, Hash)]
21struct QuestionId(String);
22

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected