summaryrefslogtreecommitdiff
path: root/src/empty.rs
blob: 3126c42f7a335c0e884241f85722c6d6980df618 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use axum::{
    http::StatusCode,
    response::{IntoResponse, Response},
};

#[derive(Debug)]
pub struct Empty;

impl IntoResponse for Empty {
    fn into_response(self) -> Response {
        StatusCode::NO_CONTENT.into_response()
    }
}