metabase 0.1.1

Ergonomic Rust SDK for Metabase's HTTP API, with async and blocking clients.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// Response body from `GET /api/user/current`.
#[derive(Clone, Debug, serde::Deserialize)]
#[non_exhaustive]
pub struct User {
    pub id: i64,
    #[serde(default)]
    pub email: Option<String>,
    #[serde(default)]
    pub first_name: Option<String>,
    #[serde(default)]
    pub last_name: Option<String>,
}