Skip to main content

gie_client/
lib.rs

1//! Rust client for GIE transparency APIs (AGSI and ALSI).
2
3/// AGSI clients and data models.
4pub mod agsi;
5/// ALSI clients and data models.
6pub mod alsi;
7
8mod client_core;
9mod common;
10mod error;
11
12/// Dataset name returned in API response envelope.
13pub use common::DatasetName;
14/// Dataset type accepted by the `type` query parameter.
15pub use common::DatasetType;
16/// Date filter used by query builder.
17pub use common::DateFilter;
18/// Validated inclusive date range.
19pub use common::DateRange;
20/// Unified date type (`time::Date` by default, `chrono::NaiveDate` with `chrono` feature).
21pub use common::GieDate;
22/// Generic paginated response wrapper returned by GIE endpoints.
23pub use common::GiePage;
24/// Shared query builder used by both AGSI and ALSI clients.
25pub use common::GieQuery;
26/// Entity level returned by record `type` field.
27pub use common::RecordType;
28/// Error type returned by all client operations.
29pub use error::GieError;