This commit is contained in:
LinlyBoi
2022-12-23 11:33:45 +02:00
parent b67c3c073d
commit 2a02926624
5 changed files with 57 additions and 24 deletions

View File

@@ -7,3 +7,11 @@ pub struct CommonTicket {
pub category: String,
pub description: String,
}
#[derive(Serialize, Deserialize, PartialEq, Debug, Clone)]
#[serde(rename_all = "camelCase")]
pub struct CommonAdmin {
pub id: i32,
pub name: String,
pub address: String,
}