Crate autortr_rocket_codegen

Source

Attribute Macrosยง

delete_mapping
HTTP DELETE method request mapping. Equivalent to #[request_mapping(method = "delete",...)]
get_mapping
HTTP GET method request mapping. Equivalent to #[request_mapping(method = "get",...)]
head_mapping
HTTP HEAD method request mapping. Equivalent to #[request_mapping(method = "head",...)]
patch_mapping
HTTP PATCH method request mapping. Equivalent to #[request_mapping(method = "patch",...)]
post_mapping
HTTP POST method request mapping. Equivalent to #[request_mapping(method = "post",...)]
put_mapping
HTTP PUT method request mapping. Equivalent to #[request_mapping(method = "put",...)]
request_mapping
A macro for simplifying route mapping and registration in Rocket applications.