Avoid boxing (#19)

* prevent boxing

Signed-off-by: C0D3 M4513R <28912031+C0D3-M4513R@users.noreply.github.com>

* Apply Changes

---------

Signed-off-by: C0D3 M4513R <28912031+C0D3-M4513R@users.noreply.github.com>
This commit is contained in:
C0D3 M4513R
2024-09-28 18:45:13 +02:00
committed by GitHub
parent 9b61686cd8
commit 96cadec85e
17 changed files with 34 additions and 34 deletions

View File

@ -112,7 +112,7 @@ pub struct CurrentUser {
#[serde(rename = "pastDisplayNames")]
pub past_display_names: Vec<models::PastDisplayName>,
#[serde(rename = "presence", skip_serializing_if = "Option::is_none")]
pub presence: Option<Box<models::CurrentUserPresence>>,
pub presence: Option<models::CurrentUserPresence>,
#[serde(rename = "profilePicOverride")]
pub profile_pic_override: String,
#[serde(rename = "profilePicOverrideThumbnail")]