Begin new protocol refactor
parent: tbd commit: 26651b1
1 | use ; |
2 | |
3 | use crate::; |
4 | |
5 | // pub struct UserSetting<V: GiteratedObjectValue>(pub V); |
6 | |
7 | // impl<O: GiteratedObject, V: GiteratedObjectValue<Object = O> + Send> GiteratedOperation<O> |
8 | // for UserSetting<V> |
9 | // { |
10 | // fn operation_name(&self) -> &'static str { |
11 | // "setting_get" |
12 | // } |
13 | // type Success = V; |
14 | // type Failure = GetValueError; |
15 | // } |
16 | |
17 | |
18 | ; |
19 | |
20 | |
21 | type Object = User; |
22 | |
23 | |
24 | "bio" |
25 | |
26 | |
27 | |
28 | |
29 | ; |
30 | |
31 | |
32 | type Object = User; |
33 | |
34 | |
35 | "display_name" |
36 | |
37 | |
38 |