Basic Issue data structures
parent: tbd commit: 509aa4e
1 | use ; |
2 | |
3 | use crate:: |
4 | , |
5 | , | Object
6 | , | ObjectBackend
7 | , | GiteratedOperation
8 | ; |
9 | |
10 | use ; |
11 | |
12 | /// A request to get info about an issue. (graphql please) |
13 | /// |
14 | /// # Authentication |
15 | /// - Instance Authentication |
16 | /// - Validate request against the `issued_for` public key |
17 | /// - Validate User token against the user's instance's public key |
18 | /// # Authorization |
19 | /// - User Authorization |
20 | /// - Potential User permissions checks |
21 | |
22 | |
23 | pub id: u64, |
24 | |
25 | |
26 | |
27 | type Success = IssueInfo; |
28 | type Failure = RepositoryError; |
29 | |
30 | |
31 | |
32 | pub async |
33 | &mut self, |
34 | id: u64, |
35 | operation_state: &S, |
36 | |
37 | self. |
38 | .await |
39 | |
40 | |
41 |