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() } }