[][src]Struct darpi_web::json::Json

pub struct Json<T>(pub T);

Implementations

impl<T> Json<T>[src]

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

Trait Implementations

impl<T> Debug for Json<T> where
    T: Debug
[src]

impl<T> Deref for Json<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T> DerefMut for Json<T>[src]

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

impl<T> Display for Json<T> where
    T: Display
[src]

impl<T> FromRequestBody<Json<T>, JsonErr> for Json<T> where
    T: DeserializeOwned + 'static, 
[src]

impl<T> Responder for Json<T> where
    T: Serialize
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Json<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for Json<T> where
    T: Send
[src]

impl<T> Sync for Json<T> where
    T: Sync
[src]

impl<T> Unpin for Json<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for Json<T> where
    T: UnwindSafe
[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> ToString for T where
    T: Display + ?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.