Skip to main content

Module client

Module client 

Source
Expand description

Generated HTTP client for regular API requests

This file contains the HTTP client implementation for GET, POST, etc. Do not edit manually - regenerate using the appropriate script. Generated by openapi-to-rust v0.12.2. Source OpenAPI document: openapi/transaction.yaml

Modules§

openapi_to_rust_problem
The generated validation-problem profile based on RFC 9457. The distinctive namespace avoids collisions with user schemas.

Structs§

ApiError
Envelope returned for any HTTP response that we received but couldn’t (or didn’t) treat as a successful typed result.
HttpClient
HTTP client for making API requests
SendTransactionBuilder
Additive request builder for sendTransaction.

Enums§

ApiOpError
Result error type returned by every generated operation method.
HttpError
Transport-level errors: failures where no safely inspectable HTTP response is available to the caller.
SendTransactionApiError
Typed error responses for sendTransaction. One variant per declared non-2xx response.

Constants§

DEFAULT_MAX_RESPONSE_BODY_BYTES
Default upper bound for any response body buffered in memory.

Type Aliases§

HttpResult
Result alias for transport-only error paths (e.g. helpers that don’t have a per-operation error type). Generated operation methods use ApiOpError directly.