use crate::AppState; use actix_web::{get, web, HttpResponse}; use serde::Deserialize; #[get("/hello")] pub async fn hello_actix(app_state: web::Data) -> HttpResponse { struct Song { } return HttpResponse::Ok().json(databases); }