Struct json_api_rocket::request::Create [] [src]

pub struct Create<T: DeserializeOwned>(pub T);

Methods

impl<T: DeserializeOwned> Create<T>
[src]

[src]

Consumes the Create wrapper and returns the wrapped value.

Trait Implementations

impl<T: Debug + DeserializeOwned> Debug for Create<T>
[src]

[src]

Formats the value using the given formatter.

impl<T: DeserializeOwned> Deref for Create<T>
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl<T: DeserializeOwned> DerefMut for Create<T>
[src]

[src]

Mutably dereferences the value.

impl<T: DeserializeOwned> FromData for Create<T>
[src]

The associated error to be returned when the guard fails.

[src]

Validates, parses, and converts an instance of Self from the incoming request body data. Read more