roux/models/me/response.rs
1//! # Me Responses
2use serde::Deserialize;
3
4/// MeData
5#[derive(Debug, Deserialize)]
6pub struct MeData {
7 /// ID
8 pub id: String,
9 /// Is employee
10 pub is_employee: bool,
11 /// Verified
12 pub verified: bool,
13 /// Over 18
14 pub over_18: bool,
15 /// Has verified email
16 pub has_verified_email: bool,
17 /// Is suspended
18 pub is_suspended: bool,
19 /// Has mail
20 pub has_mail: bool,
21 /// Inbox count
22 pub inbox_count: f64,
23 /// Created
24 pub created: f64,
25 /// Created (UTC)
26 pub created_utc: f64,
27 /// In beta
28 pub in_beta: bool,
29 /// Comment karma
30 pub comment_karma: i32,
31 /// Link karma
32 pub link_karma: i32,
33 /// Is mod
34 pub is_mod: bool,
35 /// Is gold
36 pub is_gold: bool,
37 /// Icon img
38 pub icon_img: String,
39}