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

Class Question

ch_03/src/main.rs:17–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16#[derive(Debug, Serialize)]
17struct Question {
18 id: QuestionId,
19 title: String,
20 content: String,
21 tags: Option<Vec<String>>,
22}
23#[derive(Debug, Serialize)]
24struct QuestionId(String);
25

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected