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