blob: 2c6605121fb869dc312a1e4f5e1b82dc422fffdb (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
use axum::http::StatusCode;
use axum::response::{IntoResponse, Response};
#[derive(Debug)]
pub struct Empty;
impl IntoResponse for Empty {
fn into_response(self) -> Response {
StatusCode::NO_CONTENT.into_response()
}
}
|