Struct bodyparser::Struct [] [src]

pub struct Struct<T: Deserialize> { /* fields omitted */ }

Struct is a plugin to parse a request body into a struct. Uses Raw plugin to parse the body with limit.

Trait Implementations

impl<T> Key for Struct<T> where T: Deserialize + Any
[src]

The value type associated with this key type.

impl<'a, 'b, T> Plugin<Request<'a, 'b>> for Struct<T> where T: Deserialize + Any
[src]

The error type associated with this plugin.

Create the plugin from an instance of the extended type. Read more