Fucking whatever there you go
parent: tbd commit: 57c2ca5
1 | use ; |
2 | |
3 | use crate CommentVisibility; |
4 | |
5 | /// An [`Issue`]'s database representation. |
6 | |
7 | |
8 | pub id: i32, |
9 | #[sqlx(try_from = "String")] |
10 | pub repository: Repository, |
11 | #[sqlx(try_from = "String")] |
12 | pub author: User, |
13 | pub creation_date: i32, |
14 | pub issue_name: String, |
15 | pub contents: , |
16 | |
17 | |
18 | |
19 | |
20 | #[sqlx(try_from = "String")] |
21 | pub author: User, |
22 | pub contents: , |
23 | pub visibility: CommentVisibility, |
24 | |
25 |