Dependency Update
Updated deps and added serialize for the structs
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Deserialize)]
|
||||
#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)]
|
||||
pub enum category {
|
||||
WhiteboardBeamer,
|
||||
Internet,
|
||||
@@ -10,7 +10,7 @@ pub enum category {
|
||||
Sonstiges,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Clone, PartialEq, Debug)]
|
||||
#[derive(Deserialize, Serialize, PartialEq, Debug)]
|
||||
pub struct ticket {
|
||||
pub id: i32,
|
||||
pub category: category,
|
||||
@@ -21,7 +21,7 @@ pub struct ticket {
|
||||
pub user_id: i16,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Clone, PartialEq, Debug)]
|
||||
#[derive(Deserialize, Serialize, PartialEq, Debug)]
|
||||
pub struct user {
|
||||
pub id: i16,
|
||||
pub first_name: String,
|
||||
|
||||
Reference in New Issue
Block a user