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