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

Class BadWord

ch_11/src/profanity.rs:12–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected