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); -}