Module json_api::query [] [src]

An API for working with well-known query parameters.

Structs

Builder

An implementation of the "builder pattern" that can be used to construct a new query.

Page

Limit and offset based pagination parameters.

Query

Represents well-known query parameters.

Sort

A single sort instruction containing a direction and field path.

Enums

Direction

The direction of a sort instruction.

Functions

from_slice

Deserialize a Query from the bytes of a percent encoded query string.

from_str

Deserialize a Query from a percent encoded query string.

to_string

Serialize the given Query as a percent encoded query string.

to_vec

Serialize the given Query as a representing percent encoded query string vector of bytes.