aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/user.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/models/user.rs')
-rw-r--r--src/models/user.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/models/user.rs b/src/models/user.rs
index 6ff89bb..fc16aa0 100644
--- a/src/models/user.rs
+++ b/src/models/user.rs
@@ -10,6 +10,7 @@
+
#[derive(Debug, PartialEq, Serialize, Deserialize)]
pub struct User {
#[serde(rename = "id")]
@@ -19,7 +20,7 @@ pub struct User {
impl User {
pub fn new(id: String) -> User {
User {
- id: id,
+ id,
}
}
}