melvin_ob/http_handler/http_response/
modify_objective.rs

1use crate::http_handler::http_response::response_common::SerdeJSONBodyHTTPResponseType;
2
3/// Response type for the /objective endpoint -> PUT
4#[cfg(debug_assertions)]
5#[derive(serde::Deserialize, Debug)]
6pub(crate) struct ModifyObjectiveResponse {
7    /// The indices that were added to the objective list
8    added: Vec<usize>,
9    /// The indices from the objective list that were modified
10    modified: Vec<usize>,
11}
12
13impl SerdeJSONBodyHTTPResponseType for ModifyObjectiveResponse {}