wave-api 0.1.0

Typed Rust client for the Wave Accounting GraphQL API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use chrono::{DateTime, Utc};
use serde::Deserialize;

/// The authenticated user.
#[derive(Debug, Clone, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct User {
    pub id: String,
    pub default_email: Option<String>,
    pub first_name: Option<String>,
    pub last_name: Option<String>,
    pub created_at: DateTime<Utc>,
    pub modified_at: DateTime<Utc>,
}