[][src]Crate apollo_client

Rust🦀 client for Apollo.

Power by Rust async/await.

Features

Not all features are default, you can read the [features] section of Cargo.toml to know all the features.

The xml and yaml features aren't enable by default, if you have such kind namespace, you should add features in Cargo.toml, just like:

apollo-client = { version = "0.1.0", features = ["yaml", "xml"] }

Or simply enable all features:

apollo-client = { version = "0.1.0", features = ["full"] }

Usage

You can find some examples in the examples directory.

Structs

Client

Represents the apollo client.

ClientConfig

Configuration of Apollo and api information.

Configuration

The wrapper of apollo config api response's configurations field.

Response

Apollo config api response.

Enums

ApolloClientError

Apollo client crate side Error.

ConfigurationKind

Kind of a configuration namespace.

IpValue

Apollo config api ip param value.

Traits

FromResponses

For apollo config api response to transfer to your favorite type.

Type Definitions

ApolloClientResult

Apollo client crate side Result.