Basic Issue data structures
parent: tbd commit: 509aa4e
1 | use ; |
2 | |
3 | use crate User; |
4 | |
5 | use ; |
6 | |
7 | |
8 | |
9 | pub events: , |
10 | |
11 | |
12 | |
13 | |
14 | /// The id of this event |
15 | pub id: u64, |
16 | /// Time at which the event was created |
17 | pub created: , |
18 | /// User who triggered the event |
19 | pub triggeror: User, |
20 | /// Content of the event |
21 | pub content: IssueEventContent, |
22 | |
23 | |
24 | // TODO: serialize with flattened internal struct |
25 | |
26 | |
27 | CommentCreated, |
28 | CommentRevised, |
29 | CommentDeleted, |
30 | |
31 | Tagged, |
32 | Untagged, |
33 | |
34 | StatusChanged, |
35 | |
36 | UserAssigned, |
37 | UserUnassigned, |
38 | |
39 |