Trait rustiful::JsonPost [] [src]

pub trait JsonPost where
    Self: JsonApiResource + ToJson
{ type Error: Error + Send; type Context: FromRequest; fn create(
        json: JsonApiData<Self::Attrs>,
        params: &JsonApiParams<Self::FilterField, Self::SortField>,
        ctx: Self::Context
    ) -> Result<JsonApiData<Self::Attrs>, Self::Error>
    where
        Status: for<'b> From<&'b Self::Error>
; }

Associated Types

Required Methods

Implementors