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

Class NewQuestion

ch_04/final/src/main.rs:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23#[derive(Deserialize, Serialize, Debug, Clone)]
24struct NewQuestion {
25 title: String,
26 content: String,
27 tags: Option<Vec<String>>,
28}
29
30#[derive(Deserialize, Serialize, Debug, Clone, PartialEq, Eq, Hash)]
31struct AnswerId(String);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected