Trait rustiful::JsonIndex
[−]
[src]
pub trait JsonIndex where
Self: JsonApiResource + ToJson, { type Error: Error + Send; type Context: FromRequest; fn find_all(
params: &JsonApiParams<Self::FilterField, Self::SortField>,
ctx: Self::Context
) -> Result<Vec<JsonApiData<Self::Attrs>>, Self::Error>
where
Status: for<'b> From<&'b Self::Error>; }
Associated Types
type Error: Error + Send
type Context: FromRequest
Required Methods
fn find_all(
params: &JsonApiParams<Self::FilterField, Self::SortField>,
ctx: Self::Context
) -> Result<Vec<JsonApiData<Self::Attrs>>, Self::Error> where
Status: for<'b> From<&'b Self::Error>,
params: &JsonApiParams<Self::FilterField, Self::SortField>,
ctx: Self::Context
) -> Result<Vec<JsonApiData<Self::Attrs>>, Self::Error> where
Status: for<'b> From<&'b Self::Error>,