Clean code by commenting out some variable, and allowing some dead code.

This commit is contained in:
2025-10-24 23:24:47 +02:00
parent 442b5d25b4
commit 7c8e8eb236
8 changed files with 26 additions and 44 deletions
+4 -7
View File
@@ -10,13 +10,10 @@ pub struct UserLink {
}
#[derive(Deserialize, Debug, Clone)]
pub struct User {
#[serde(rename = "_type")]
#[allow(unused_variables)]
pub d_type: String,
#[allow(unused_variables)]
pub id: u64,
#[allow(unused_variables)]
pub name: String,
// #[serde(rename = "_type")]
// pub d_type: String,
// pub id: u64,
// pub name: String,
#[serde(rename = "_links")]
pub d_links: UserLink,
}