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

Class BadWordsResponse

ch_10/src/profanity.rs:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23#[derive(Deserialize, Serialize, Debug, Clone)]
24struct BadWordsResponse {
25 content: String,
26 bad_words_total: i64,
27 bad_words_list: Vec<BadWord>,
28 censored_content: String,
29}
30
31pub async fn check_profanity(
32 content: String,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected