Add CommitBodyType option
parent: tbd commit: 6671085
1 | use Display; |
2 | |
3 | use ; |
4 | |
5 | use crate::; |
6 | |
7 | use ; |
8 | |
9 | // pub struct RepositorySetting<V: GiteratedObjectValue>(pub V); |
10 | |
11 | // impl<O: GiteratedObject, V: GiteratedObjectValue<Object = O> + Send> GiteratedOperation<O> |
12 | // for RepositorySetting<V> |
13 | // { |
14 | // fn operation_name(&self) -> &'static str { |
15 | // "setting_get" |
16 | // } |
17 | // type Success = V; |
18 | // type Failure = GetValueError; |
19 | // } |
20 | |
21 | |
22 | ; |
23 | |
24 | |
25 | |
26 | f.write_str |
27 | |
28 | |
29 | |
30 | |
31 | type Object = Repository; |
32 | |
33 | |
34 | "description" |
35 | |
36 | |
37 | |
38 | |
39 | |
40 | "description" |
41 | |
42 | |
43 | |
44 | |
45 | |
46 | |
47 | ; |
48 | |
49 | |
50 | type Object = Repository; |
51 | |
52 | |
53 | "visibility" |
54 | |
55 | |
56 | |
57 | |
58 | |
59 | "visibility" |
60 | |
61 | |
62 | |
63 | |
64 | |
65 | |
66 | ; |
67 | |
68 | |
69 | |
70 | f.write_str |
71 | |
72 | |
73 | |
74 | |
75 | type Object = Repository; |
76 | |
77 | |
78 | "default_branch" |
79 | |
80 | |
81 | |
82 | |
83 | ; |
84 | |
85 | |
86 | type Object = Repository; |
87 | |
88 | |
89 | "latest_commit" |
90 | |
91 | |
92 | |
93 | |
94 | type Object = Repository; |
95 | |
96 | |
97 | "commit_body_type" |
98 | |
99 | |
100 |