1 2 3 4 5 6 7 8
#[derive(Debug, serde::Serialize, sqlx::FromRow)] pub struct Story { pub id: i64, pub language: String, pub pdf: Vec<u8>, pub epub: Vec<u8>, pub pid: i64, }