From fa6e9d7128aa9e37914de574dd72a3d9cc5039e8 Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 2 Oct 2024 20:02:48 +0300 Subject: [PATCH] define fields enum index --- src/app/database.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/database.rs b/src/app/database.rs index 435aa229..d7cc3a20 100644 --- a/src/app/database.rs +++ b/src/app/database.rs @@ -1,6 +1,11 @@ use sqlite::Connection; use std::sync::Arc; +enum Field { + Id, + Time, +} + pub struct Database { connection: Arc, }