This commit is contained in:
LinlyBoi
2022-12-26 09:32:46 +02:00
parent 6002cfb866
commit 8acd2e701d
2 changed files with 2 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ pub struct Ticket {
#[derive(Insertable)]
#[diesel(table_name = tickets)]
pub struct NewTicket<'a> {
pub id: i32,
pub category: &'a str,
pub description: &'a str,
}