This commit is contained in:
Stefan Schwarz 2020-08-13 21:44:45 +02:00
parent f76cbd9d46
commit c5fcafe450
11 changed files with 88053 additions and 97 deletions

11
src/db.rs Normal file
View file

@ -0,0 +1,11 @@
use chrono::{DateTime, Utc};
#[derive(sqlx::FromRow, Debug)]
pub struct Entry {
id: i32,
macaddr: String,
nickname: String,
descr: String,
privacy: i8,
created: DateTime<Utc>,
}