Struct darpi::Json[][src]

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

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

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

impl<T> Unpin for Json<T> where
    T: Unpin

impl<T> UnwindSafe for Json<T> where
    T: UnwindSafe

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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> FromQuery<Option<T>, QueryPayloadError> for T where
    T: DeserializeOwned
[src]

impl<T> FromQuery<T, QueryPayloadError> for T[src]

impl<F, T, E, C> FromRequestBodyWithContainer<T, E, C> for F where
    C: Any + Sync + Send,
    T: DeserializeOwned + 'static,
    E: ResponderError + 'static,
    F: FromRequestBody<T, E> + 'static, 
[src]

impl<T> Instrument for T[src]

impl<T> Interface for T where
    T: Any + Send + Sync
[src]

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

impl<T> ModuleInterface for T where
    T: Any + Send + Sync
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

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.