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

Class QuestionId

ch_04/ch_04-s4.1.2/src/main.rs:52–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, Hash)]
52struct QuestionId(String);
53
54impl Question {
55 fn new(id: QuestionId, title: String, content: String, tags: Option<Vec<String>>) -> Self {

Callers 1

from_strMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected