Expand description
§clickhouse-cloud-api
Typed Rust client for the ClickHouse Cloud API.
§Usage
use clickhouse_cloud_api::Client;
#[tokio::main]
async fn main() -> Result<(), clickhouse_cloud_api::Error> {
let client = Client::new("your-key-id", "your-key-secret");
let orgs = client.organization_get_list().await?;
println!("{:?}", orgs);
Ok(())
}Re-exports§
pub use client::Client;pub use error::Error;pub use meta::is_beta_operation;pub use meta::is_deprecated_field;pub use meta::BETA_OPERATIONS;pub use meta::DEPRECATED_FIELDS;pub use models::*;
Modules§
- client
- HTTP client for the ClickHouse Cloud API.
- error
- Error types for the ClickHouse Cloud API client.
- meta
- Operation stability metadata.
- models
- Typed models for ClickHouse Cloud API schemas.
- serde_
helpers - Serde helpers used by generated models.