Update books query

This commit is contained in:
2025-01-05 14:10:12 +01:00
parent 986a8f7f5f
commit abee7403b7
4 changed files with 200 additions and 123 deletions

View File

@@ -20,7 +20,7 @@ pub struct BookFilter {
pub id_lte: Option<i32>,
}
#[derive(Serialize)]
#[derive(Serialize, sqlx::FromRow)]
pub struct RemoteBook {
pub id: i32,
pub title: String,