melvin_ob/http_handler/http_request/
objective_list_get.rs1use super::objective_list::ObjectiveListResponse;
2use super::request_common::{HTTPRequestMethod, HTTPRequestType, NoBodyHTTPRequestType};
3
4#[derive(Debug)]
6pub(crate) struct ObjectiveListRequest {}
7
8impl NoBodyHTTPRequestType for ObjectiveListRequest {}
9
10impl HTTPRequestType for ObjectiveListRequest {
11 type Response = ObjectiveListResponse;
13 fn endpoint(&self) -> &'static str { "/objective" }
15 fn request_method(&self) -> HTTPRequestMethod { HTTPRequestMethod::Get }
17}