| 21 | |
| 22 | #[derive(Deserialize, Serialize, Debug, Clone)] |
| 23 | struct BadWordsResponse { |
| 24 | content: String, |
| 25 | bad_words_total: i64, |
| 26 | bad_words_list: Vec<BadWord>, |
| 27 | censored_content: String, |
| 28 | } |
| 29 | |
| 30 | pub async fn check_profanity( |
| 31 | content: String, |
nothing calls this directly
no outgoing calls
no test coverage detected