Struct resty::request::Request [] [src]

pub struct Request<P = ()> { /* fields omitted */ }

Resty Request wrapper.

Methods

impl<P> Request<P>
[src]

[src]

Creates new instance of request

[src]

Returns params reference.

[src]

Consumes params.

[src]

Read the body of this request and deserialize it from JSON. Returns error in case the request body cannot be read or deserialization fails.

Trait Implementations

impl<P: Debug> Debug for Request<P>
[src]

[src]

Formats the value using the given formatter.