axum/axum-macros/tests/from_request/pass
Jonas Platte 7705ef6661
Add #[derive(FromRequestParts)] (#1305)
* Add missing leading double colon

* Separate handling of last element in FromRequest derive

* FromRequestParts derive

* fix it and add lots of tests

* docs

* changelog

* Update axum-macros/src/lib.rs

Co-authored-by: Jonas Platte <jplatte+git@posteo.de>

Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2022-08-23 19:14:02 +00:00
..
container.rs Only allow last extractor to mutate the request (#1272) 2022-08-22 12:23:20 +02:00
container_parts.rs Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00:00
empty_named.rs Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00
empty_named_parts.rs Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00:00
empty_tuple.rs Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00
empty_tuple_parts.rs Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00:00
enum_via.rs Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00
enum_via_parts.rs Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00:00
named.rs Only allow last extractor to mutate the request (#1272) 2022-08-22 12:23:20 +02:00
named_parts.rs Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00:00
named_via.rs Only allow last extractor to mutate the request (#1272) 2022-08-22 12:23:20 +02:00
named_via_parts.rs Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00:00
override_rejection.rs Only allow last extractor to mutate the request (#1272) 2022-08-22 12:23:20 +02:00
override_rejection_non_generic.rs Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00:00
override_rejection_non_generic_parts.rs Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00:00
override_rejection_parts.rs Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00:00
override_rejection_with_via_on_enum.rs Support using a different rejection for #[derive(FromRequest)] (#1256) 2022-08-12 16:05:27 +00:00
override_rejection_with_via_on_enum_parts.rs Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00:00
override_rejection_with_via_on_struct.rs Support using a different rejection for #[derive(FromRequest)] (#1256) 2022-08-12 16:05:27 +00:00
override_rejection_with_via_on_struct_parts.rs Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00:00
tuple.rs Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00
tuple_parts.rs Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00:00
tuple_same_type_twice.rs Only allow last extractor to mutate the request (#1272) 2022-08-22 12:23:20 +02:00
tuple_same_type_twice_parts.rs Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00:00
tuple_same_type_twice_via.rs Only allow last extractor to mutate the request (#1272) 2022-08-22 12:23:20 +02:00
tuple_same_type_twice_via_parts.rs Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00:00
tuple_via.rs Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00
tuple_via_parts.rs Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00:00
unit.rs Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00
unit_parts.rs Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00:00