From 8859ab7058ed121a8029721b1e36030530dcd5bc Mon Sep 17 00:00:00 2001 From: LinlyBoi Date: Sat, 31 Dec 2022 12:44:04 +0200 Subject: [PATCH] YES --- backend/src/lib.rs | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 backend/src/lib.rs diff --git a/backend/src/lib.rs b/backend/src/lib.rs deleted file mode 100644 index cf393c4..0000000 --- a/backend/src/lib.rs +++ /dev/null @@ -1,16 +0,0 @@ -pub mod admin_data; -pub mod driver_data; -pub mod radar_data; -pub mod ticket_data; -pub mod vehicle_data; -use async_trait::async_trait; -use sqlx::PgPool; - -//Nuke happened here but we got POOLS :DDDDDD -#[async_trait] -pub trait SqlStruct { - async fn add(&self, pool: &PgPool); - async fn delete(&self, pool: &PgPool); - async fn listall(&self, pool: &PgPool); - async fn join(&self, join_target: impl SqlStruct, pool: &PgPool); -}