@@ -90,26 +90,26 @@ pub struct Course {
90
90
#[ derive( Debug , Deserialize , Serialize ) ]
91
91
pub struct CourseData {
92
92
pub name : String ,
93
- // pub hide_after
93
+ pub hide_after : Option < String > ,
94
94
pub hidden : bool ,
95
- pub cache_version : usize ,
96
- // pub spreadsheet_key
97
- // pub hidden_if_registered_after
98
- pub refreshed_at : String ,
95
+ pub cache_version : Option < usize > ,
96
+ pub spreadsheet_key : Option < String > ,
97
+ pub hidden_if_registered_after : Option < String > ,
98
+ pub refreshed_at : Option < String > ,
99
99
pub locked_exercise_points_visible : bool ,
100
- pub description : String ,
101
- // pub paste_visibility
102
- // pub formal_name
103
- pub certificate_downloadable : bool ,
104
- // pub certificate_unlock_spec
105
- pub organization_id : usize ,
106
- pub disabled_status : String ,
107
- pub title : String ,
108
- pub material_url : String ,
109
- pub course_template_id : usize ,
100
+ pub description : Option < String > ,
101
+ pub paste_visibility : Option < String > ,
102
+ pub formal_name : Option < String > ,
103
+ pub certificate_downloadable : Option < bool > ,
104
+ pub certificate_unlock_spec : Option < String > ,
105
+ pub organization_id : Option < usize > ,
106
+ pub disabled_status : Option < String > ,
107
+ pub title : Option < String > ,
108
+ pub material_url : Option < String > ,
109
+ pub course_template_id : Option < usize > ,
110
110
pub hide_submission_results : bool ,
111
- pub external_scoreboard_url : String ,
112
- pub organization_slug : String ,
111
+ pub external_scoreboard_url : Option < String > ,
112
+ pub organization_slug : Option < String > ,
113
113
}
114
114
115
115
/// Represents a course details response from tmc-server,
0 commit comments