1 2 3 4 5 6 7 8 9 10 11 12
/// A struct representing a user. #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)] pub struct User { /// The user's ID. pub id: i32, /// The user's GitHub ID. pub github_id: i32, /// The user's username. pub username: String, }