Skip to main content

Crate photon_api

Crate photon_api 

Source
Expand description

Photon API client generated from OpenAPI spec using progenitor.

This crate provides a Rust client for the Photon indexer API. Types are pre-generated by progenitor and checked in; HTTP calls use reqwest directly. To regenerate after spec changes: cargo build -p photon-api --features generate

Modules§

apis
builder
Types for composing operation parameters.
prelude
Items consumers will typically use such as the Client.
types
Types used as operation parameters and responses.

Structs§

ByteStream
Untyped byte stream used for both success and error responses.
Client
Client for photon-indexer
ResponseValue
Typed value returned by generated client methods.

Enums§

Error
Error produced by generated client methods.

Traits§

ClientInfo
Interface for which an implementation is generated for all clients.