Hijack this to make User::flags pub

This commit is contained in:
Zertex 2023-05-28 02:42:35 -04:00
parent bab1f0ed52
commit de10ccbed7
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ pub struct User {
/// So we need to account for that /// So we need to account for that
#[serde(default)] #[serde(default)]
#[serde(deserialize_with = "deserialize_option_number_from_string")] #[serde(deserialize_with = "deserialize_option_number_from_string")]
flags: Option<i32>, pub flags: Option<i32>,
pub premium_since: Option<DateTime<Utc>>, pub premium_since: Option<DateTime<Utc>>,
pub premium_type: u8, pub premium_type: u8,
pub pronouns: Option<String>, pub pronouns: Option<String>,