Skip to main content

Module from_body

Module from_body 

Source
Expand description

FromBody trait and built-in implementations.

Provides typed deserialization from a Body variant. For custom types that implement serde::de::DeserializeOwned, use the [impl_from_body_via_serde!] macro.

Traitsยง

FromBody
Convert a Body into a typed value.