Trait poem_openapi::Response[][src]

pub trait Response: IntoResponse + Sized {
    const BAD_REQUEST_HANDLER: bool;

    fn meta() -> MetaResponses;
fn register(registry: &mut Registry); fn from_parse_request_error(err: ParseRequestError) -> Self { ... } }
Expand description

Associated Constants

If true, it means that the response object has a custom bad request handler.

Required methods

Gets metadata of this response.

Register the schema contained in this response object to the registry.

Provided methods

Convert ParseRequestError to this response object.

Implementations on Foreign Types

Implementors