github_ureq/types/
user.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Serialize, Deserialize)]
4pub struct User {
5 pub login: String,
6 pub id: usize,
7 pub node_id: String,
8 pub avatar_url: String,
9 pub gravatar_id: String,
10 pub url: String,
11 pub html_url: String,
12 pub followers_url: String,
13 pub following_url: String,
14 pub gists_url: String,
15 pub starred_url: String,
16 pub subscriptions_url: String,
17 pub organizations_url: String,
18 pub repos_url: String,
19 pub events_url: String,
20 pub received_events_url: String,
21 #[serde(rename = "type")]
22 pub user_type: String,
23 pub site_admin: bool,
24}