Expand description
This crate provides shared utilities for implementing clients
Structs§
- Config
Override - Per-request configuration overrides.
- Customizable
Payjp Request - A
CustomizablePayjpRequest
allows for configuring per-request behavior that overrides default configuration values. - Customized
Payjp Request - The request specification used by a compatible client to make a request.
- List
Paginator - Stream designed to support pagination.
- Request
Builder - A builder for specifying the possible pieces of a API request.
- Shared
Config Builder - This is meant for internal use when implementing compatible clients, so it may be more unstable with respect to semver.
Enums§
- Outcome
- Representation of whether to retry the API request, including a potential waiting period.
- Payjp
Method - REST API methods used by Payjp.
- Request
Strategy - Possible strategies for sending API requests, including retry behavior and use of idempotency keys.
Traits§
- Blocking
Client - An abstraction for defining HTTP clients capable of making blocking API requests compatible with request information generated in the request crates.
- Pagination
Ext - An extension trait to allow converting
List<T>
into a type that can be paginated. Not meant to be implemented by any other types. - Payjp
Client - An abstraction for defining HTTP clients capable of making API requests compatible with request information generated in the request crates.
- Payjp
Client Err - This trait allows clients implementing
PayjpClient
to define their own error type, while ensuring they can receive deserialization errors. - Payjp
Request - Define how to convert structs into the data required to make a specific API call.