feat: add connected_accounts to UserProfile
This commit is contained in:
parent
a1caa38bfd
commit
f966a787d9
|
@ -23,7 +23,7 @@ use crate::gateway::GatewayHandle;
|
||||||
#[cfg(feature = "client")]
|
#[cfg(feature = "client")]
|
||||||
use chorus_macros::{Composite, Updateable};
|
use chorus_macros::{Composite, Updateable};
|
||||||
|
|
||||||
use super::{Emoji, GuildMember};
|
use super::{Emoji, GuildMember, PublicConnection};
|
||||||
|
|
||||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, Default)]
|
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, Default)]
|
||||||
#[cfg_attr(feature = "sqlx", derive(sqlx::Type))]
|
#[cfg_attr(feature = "sqlx", derive(sqlx::Type))]
|
||||||
|
@ -304,8 +304,10 @@ pub struct UserProfile {
|
||||||
|
|
||||||
pub mutual_friends_count: Option<u32>,
|
pub mutual_friends_count: Option<u32>,
|
||||||
|
|
||||||
// TODO: Add connections!
|
pub connected_accounts: Vec<PublicConnection>,
|
||||||
// TODO: And application role connections!
|
|
||||||
|
// TODO: Add application role connections!
|
||||||
|
|
||||||
/// The type of premium (Nitro) a user has
|
/// The type of premium (Nitro) a user has
|
||||||
pub premium_type: Option<PremiumType>,
|
pub premium_type: Option<PremiumType>,
|
||||||
/// The date the user's premium (Nitro) subscribtion started
|
/// The date the user's premium (Nitro) subscribtion started
|
||||||
|
|
Loading…
Reference in New Issue