melvin_ob/http_handler/http_response/achievements.rs
1use super::response_common::SerdeJSONBodyHTTPResponseType;
2use crate::http_handler::common::Achievement;
3
4/// Response type for the /achievements endpoint
5#[derive(serde::Deserialize, Debug)]
6pub(crate) struct AchievementsResponse {
7 /// `Vec` of done `Achievement` objects
8 achievements: Vec<Achievement>,
9}
10
11impl SerdeJSONBodyHTTPResponseType for AchievementsResponse {}