coder 0.3.0

Asynchronous, pure Rust bindings to the Coder On-Prem API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct User {
    pub id: String,
    pub name: String,
    pub username: String,
    pub email: String,
    pub dotfiles_git_uri: String,
    pub roles: Vec<String>,
    pub avatar_hash: String,
    pub key_regenerated_at: DateTime<Utc>,
    pub created_at: DateTime<Utc>,
    pub updated_at: DateTime<Utc>,
}