pub fn new() -> Route(Nil, Nil, Nil, Nil)
pub fn with_has_body(
route: Route(a, b, c, d),
has_body: Bool,
) -> Route(a, b, c, d)
pub fn with_method(
route: Route(a, b, c, d),
method: Method,
) -> Route(a, b, c, d)
pub fn with_path_converter(
route: Route(a, b, c, d),
path_converter: PathConverter(e),
) -> Route(e, b, c, d)
pub fn with_query_converter(
route: Route(a, b, c, d),
query_converter: QueryConverter(e),
) -> Route(a, e, c, d)
pub fn with_request_body_converter(
route: Route(a, b, c, d),
req_body_converter: JsonConverter(e),
) -> Route(a, b, e, d)
pub fn with_response_body_converter(
route: Route(a, b, c, d),
res_body_converter: JsonConverter(e),
) -> Route(a, b, c, e)