Modules

  • Deserialize JSON data to a Rust data structure.
  • DNS resolution
  • When serializing or deserializing JSON goes wrong.
  • HTTP header types
  • A map of String to serde_json::Value.
  • Redirect Handling
  • Serialize a Rust data structure into JSON data.
  • TLS configuration
  • The Value enum, a loosely typed way of representing any valid JSON value.

Macros

  • Construct a serde_json::Value from a JSON literal.

Structs

  • An asynchronous request body.
  • Represents a server X509 certificate.
  • An asynchronous Client to make Requests with.
  • A ClientBuilder can be used to create a Client with custom configuration.
  • A structure that deserializes JSON into Rust values.
  • Represents a private key and X509 cert as a client certificate.
  • Represents a JSON key/value type.
  • The Request Method (VERB)
  • A configuration for filtering out requests that shouldn’t be proxied
  • Represents a JSON number, whether integer or floating point.
  • Configuration of a proxy that a Client should pass requests to.
  • A request which can be executed with Client::execute().
  • A builder to construct the properties of a Request.
  • A Response to a submitted Request.
  • A structure for serializing Rust values into JSON.
  • An HTTP status code (status-code in RFC 7230 et al.).
  • Iterator that deserializes a stream into multiple JSON values.
  • An upgraded HTTP connection.
  • A parsed URL record.
  • Represents a version of the HTTP spec.

Enums

  • Represents any valid JSON value.

Traits

Functions

  • Deserialize an instance of type T from an I/O stream of JSON.
  • Deserialize an instance of type T from bytes of JSON text.
  • Deserialize an instance of type T from a string of JSON text.
  • Interpret a serde_json::Value as an instance of type T.
  • Shortcut method to quickly make a GET request.
  • Serialize the given data structure as a String of JSON.
  • Serialize the given data structure as a pretty-printed String of JSON.
  • Convert a T into serde_json::Value which is an enum that can represent any valid JSON data.
  • Serialize the given data structure as a JSON byte vector.
  • Serialize the given data structure as a pretty-printed JSON byte vector.
  • Serialize the given data structure as JSON into the I/O stream.
  • Serialize the given data structure as pretty-printed JSON into the I/O stream.

Type Definitions