[][src]Struct hyper_serde::De

pub struct De<T> { /* fields omitted */ }

A wrapper to deserialize Hyper types.

This is useful with functions such as serde_json::from_str.

Values of this type can only be obtained through the serde::Deserialize trait.

Methods

impl<'de, T> De<T> where
    De<T>: Deserialize<'de>, 
[src]

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

Consumes this wrapper, returning the deserialized value.

Trait Implementations

impl<T: Debug> Debug for De<T>[src]

impl<'de> Deserialize<'de> for De<ContentType>[src]

impl<'de> Deserialize<'de> for De<Cookie<'static>>[src]

impl<'de> Deserialize<'de> for De<HeaderMap>[src]

impl<'de> Deserialize<'de> for De<Method>[src]

impl<'de> Deserialize<'de> for De<Mime>[src]

impl<'de> Deserialize<'de> for De<StatusCode>[src]

impl<'de> Deserialize<'de> for De<(StatusCode, String)>[src]

impl<'de> Deserialize<'de> for De<Tm>[src]

Auto Trait Implementations

impl<T> Send for De<T> where
    T: Send

impl<T> Sync for De<T> where
    T: Sync

Blanket Implementations

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

impl<T> From<T> for T[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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Erased for T

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]