From e010223224b28df4b53e763b2a4f2a4fb37cc339 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Tue, 20 Sep 2022 16:43:18 +0200 Subject: Create warning app --- src/models/model.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/models/model.rs') diff --git a/src/models/model.rs b/src/models/model.rs index 5aa3ddf..071f515 100644 --- a/src/models/model.rs +++ b/src/models/model.rs @@ -38,7 +38,7 @@ pub struct ModelCreate { #[derive(Serialize, sqlx::FromRow)] pub struct ModelUser { - id: i32, + pub id: i32, name: String, description: Option, duration: i32, -- cgit v1.2.3-71-g8e6c