Skip to main content

Crate gie_client

Crate gie_client 

Source
Expand description

Rust client for GIE transparency APIs (AGSI and ALSI).

Modules§

agsi
AGSI clients and data models. AGSI clients and record models.
alsi
ALSI clients and data models. ALSI clients and record models.

Structs§

DateRange
Validated inclusive date range. Inclusive date range used in query filters.
GiePage
Generic paginated response wrapper returned by GIE endpoints. Decoded paginated API response.
GieQuery
Shared query builder used by both AGSI and ALSI clients. Query builder shared by AGSI and ALSI endpoints.

Enums§

DatasetName
Dataset name returned in API response envelope. Dataset name returned by API response envelope.
DatasetType
Dataset type accepted by the type query parameter. Dataset scope accepted by the type query parameter on facility reports.
DateFilter
Date filter used by query builder. Date filter accepted by GIE API.
GieError
Error type returned by all client operations. Unified error type for AGSI/ALSI client operations.
RecordType
Entity level returned by record type field. Entity level returned by API record type field.

Type Aliases§

GieDate
Unified date type (time::Date by default, chrono::NaiveDate with chrono feature). Unified date type used by the public API.