1
0
mirror of https://github.com/actix/actix-website synced 2024-11-24 00:41:07 +01:00

Documentation: extractor page navigation bar is missing sections (#302)

This commit is contained in:
Jonas Fassbender 2022-12-10 18:48:57 +01:00 committed by GitHub
parent f6b43d5efc
commit 28cb016092
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ The following example limits the size of the payload to 4kb and uses a custom er
<CodeBlock example="extractors" file="json_two.rs" section="json-two" />
# URL-Encoded Forms
## URL-Encoded Forms
A URL-encoded form body can be extracted to a struct, much like `Json<T>`. This type must implement `serde::Deserialize`.
@ -64,7 +64,7 @@ Actix Web also provides many other extractors, here's a few important ones:
- [`Bytes`][bytes] - You can convert a request's payload into _Bytes_. [_An example_][bytesexample] is available in the rustdoc.
- [`Payload`][payload] - Low-level payload extractor primarily for building other extractors. [_An example_][payloadexample] is available in the rustdoc.
# Application State Extractor
## Application State Extractor
Application state is accessible from the handler with the `web::Data` extractor; however, state is accessible as a read-only reference. If you need mutable access to state, it must be implemented.