pub trait EndpointAction: Display {
// Required methods
fn allowed_http_methods(&self) -> &str;
fn response_content_type(&self) -> &str;
}Required Methods§
Sourcefn allowed_http_methods(&self) -> &str
fn allowed_http_methods(&self) -> &str
The allowed HTTP methods for the endpoint.
Sourcefn response_content_type(&self) -> &str
fn response_content_type(&self) -> &str
The endpoint’s response content type.