1 2 3 4 5 6 7 8 9
#[derive(sqlx::FromRow, Clone, magic_sync::Row)] #[row(table = "things", mirror = "catalog")] pub struct Thing { pub id: uuid::Uuid, #[row(generated, version)] pub at: i64, } fn main() {}