Skip to main content

kjspkg_api/models/
user.rs

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