phabricator_oauth/user.rs
1use serde::{Serialize, Deserialize};
2
3#[derive(Serialize, Deserialize, Debug)]
4#[serde(rename_all = "camelCase")]
5pub struct PhabricatorUser {
6 pub phid: String,
7 pub user_name: String,
8 pub real_name: String,
9 pub image: String,
10 pub uri: String,
11 pub roles: Vec<String>,
12 pub primary_email: String
13}