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

Class BadWord

ch_08/src/profanity.rs:13–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12#[derive(Deserialize, Serialize, Debug, Clone)]
13struct BadWord {
14 original: String,
15 word: String,
16 deviations: i64,
17 info: i64,
18 #[serde(rename = "replacedLen")]
19 replaced_len: i64,
20}
21
22#[derive(Deserialize, Serialize, Debug, Clone)]
23struct BadWordsResponse {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected