mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-02-11 02:44:15 +00:00
define fields enum index
This commit is contained in:
parent
490338930d
commit
fa6e9d7128
@ -1,6 +1,11 @@
|
|||||||
use sqlite::Connection;
|
use sqlite::Connection;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
|
enum Field {
|
||||||
|
Id,
|
||||||
|
Time,
|
||||||
|
}
|
||||||
|
|
||||||
pub struct Database {
|
pub struct Database {
|
||||||
connection: Arc<sqlite::Connection>,
|
connection: Arc<sqlite::Connection>,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user