| 4 | |
| 5 | #[derive(Debug, Serialize, Deserialize)] |
| 6 | pub struct User { |
| 7 | pub id: i64, |
| 8 | pub email: String, |
| 9 | pub password: String, // Note: Storing plain-text passwords is not recommended. Use hashed passwords instead. |
| 10 | pub created_at: DateTime<Utc>, |
| 11 | } |
| 12 | |
| 13 | #[derive(Debug, Serialize, Deserialize)] |
| 14 | pub struct Chat { |
nothing calls this directly
no outgoing calls
no test coverage detected