Unified stack `GetValue` implementation
parent: tbd commit: 325f5af
1 | use Debug; |
2 | |
3 | use crate ConnectionState; |
4 | use OperationError; |
5 | |
6 | use GiteratedObject; |
7 | |
8 | use |
9 | Repository, RepositoryFileInspectRequest, RepositoryIssueLabelsRequest, |
10 | RepositoryIssuesCountRequest, RepositoryIssuesRequest, |
11 | ; |
12 | |
13 | use User; |
14 | |
15 | use GetValueTyped; |
16 | use ; |
17 | |
18 | |
19 | /// Authorizes the operation, returning whether the operation was |
20 | /// authorized or not. |
21 | async |
22 | &self, |
23 | authenticating_user: , |
24 | object: &O, |
25 | state: &mut S, |
26 | ; |
27 | |
28 | |
29 | |
30 | |
31 | async |
32 | &self, |
33 | _authenticating_user: , |
34 | _object: &User, |
35 | _state: &mut ConnectionState, |
36 | |
37 | // TODO |
38 | Ok |
39 | |
40 | |
41 | |
42 | |
43 | |
44 | async |
45 | &self, |
46 | _authenticating_user: , |
47 | _object: &Repository, |
48 | _state: &mut ConnectionState, |
49 | |
50 | // TODO |
51 | Ok |
52 | |
53 | |
54 | |
55 | |
56 | |
57 | AuthorizedOperation for GetValueTyped |
58 | |
59 | async |
60 | &self, |
61 | _authenticating_user: , |
62 | _object: &Repository, |
63 | _state: &mut ConnectionState, |
64 | |
65 | // TODO |
66 | Ok |
67 | |
68 | |
69 | |
70 | |
71 | |
72 | async |
73 | &self, |
74 | _authenticating_user: , |
75 | _object: &Repository, |
76 | _state: &mut ConnectionState, |
77 | |
78 | // TODO |
79 | Ok |
80 | |
81 | |
82 | |
83 | |
84 | |
85 | async |
86 | &self, |
87 | _authenticating_user: , |
88 | _object: &Repository, |
89 | _state: &mut ConnectionState, |
90 | |
91 | // TODO |
92 | Ok |
93 | |
94 | |
95 | |
96 | |
97 | |
98 | async |
99 | &self, |
100 | _authenticating_user: , |
101 | _object: &Repository, |
102 | _state: &mut ConnectionState, |
103 | |
104 | // TODO |
105 | Ok |
106 | |
107 | |
108 | |
109 | |
110 | |
111 | async |
112 | &self, |
113 | _authenticating_user: , |
114 | _object: &Repository, |
115 | _state: &mut ConnectionState, |
116 | |
117 | // TODO |
118 | Ok |
119 | |
120 | |
121 | |
122 | |
123 | |
124 | async |
125 | &self, |
126 | _authenticating_user: , |
127 | _object: &Repository, |
128 | _state: &mut ConnectionState, |
129 | |
130 | // TODO |
131 | Ok |
132 | |
133 | |
134 |