Struct bodyparser::Struct [] [src]

pub struct Struct<T> where
    T: for<'a> Deserialize<'a>, 
{ /* 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: for<'a> Deserialize<'a> + Any
[src]

The value type associated with this key type.

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

The error type associated with this plugin.

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