1 2 3 4 5 6 7 8 9
use sqlx::prelude::FromRow; #[derive(Debug, PartialEq, FromRow)] pub struct Task { pub id: i64, pub title: String, pub description: String, }