[][src]Struct dropshot::TypedBody

pub struct TypedBody<BodyType: JsonSchema + DeserializeOwned + Send + Sync> { /* fields omitted */ }

TypedBody<BodyType> is an extractor used to deserialize an instance of BodyType from an HTTP request body. BodyType is any structure of yours that implements serde::Deserialize. See this module's documentation for more information.

Implementations

impl<BodyType: JsonSchema + DeserializeOwned + Send + Sync> TypedBody<BodyType>[src]

pub fn into_inner(self) -> BodyType[src]

Trait Implementations

impl<BodyType> Extractor for TypedBody<BodyType> where
    BodyType: JsonSchema + DeserializeOwned + Send + Sync + 'static, 
[src]

Auto Trait Implementations

impl<BodyType> RefUnwindSafe for TypedBody<BodyType> where
    BodyType: RefUnwindSafe

impl<BodyType> Send for TypedBody<BodyType>

impl<BodyType> Sync for TypedBody<BodyType>

impl<BodyType> Unpin for TypedBody<BodyType> where
    BodyType: Unpin

impl<BodyType> UnwindSafe for TypedBody<BodyType> where
    BodyType: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,