Begin new protocol refactor
parent: tbd commit: 26651b1
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | use Error; |
8 | use async_trait; |
9 | use Value; |
10 | |
11 | use crate GitBackendError; |
12 | use |
13 | |
14 | , | UserAuthenticationToken
15 | , | Instance
16 | |
17 | IssueLabel, Repository, RepositoryIssue, RepositorySummary, RepositoryTreeEntry, |
18 | , |
19 | , | User
20 | , |
21 | |
22 | , |
23 | |
24 | RepositoryFileInspectRequest, RepositoryIssueLabelsRequest, |
25 | RepositoryIssuesCountRequest, RepositoryIssuesRequest, |
26 | , |
27 | , |
28 | ; |
29 | |
30 | |
31 | |
32 | async |
33 | &mut self, |
34 | user: &User, |
35 | request: &RepositoryCreateRequest, |
36 | ; |
37 | async |
38 | &mut self, |
39 | requester: , |
40 | request: &RepositoryFileInspectRequest, |
41 | ; |
42 | async |
43 | &mut self, |
44 | requester: , |
45 | user: &User, |
46 | ; |
47 | async ; |
48 | |
49 | |
50 | |
51 | |
52 | &mut self, |
53 | requester: , |
54 | request: &RepositoryIssuesCountRequest, |
55 | ; |
56 | |
57 | &mut self, |
58 | requester: , |
59 | request: &RepositoryIssueLabelsRequest, |
60 | ; |
61 | |
62 | &mut self, |
63 | requester: , |
64 | request: &RepositoryIssuesRequest, |
65 | ; |
66 | |
67 | |
68 | |
69 | |
70 | async |
71 | &mut self, |
72 | request: RegisterAccountRequest, |
73 | ; |
74 | |
75 | async |
76 | &mut self, |
77 | source: &Instance, |
78 | request: AuthenticationTokenRequest, |
79 | ; |
80 | |
81 | |
82 | |
83 | |
84 | async ; |
85 | |
86 | |
87 | |
88 | |
89 | async ; |
90 | async |
91 | ; |
92 | |
93 | async |
94 | &mut self, |
95 | repository: &Repository, |
96 | ; |
97 | async |
98 | &mut self, |
99 | repository: &Repository, |
100 | settings: &[ ], |
101 | ; |
102 | |
103 |