aboutsummaryrefslogtreecommitdiffstats
path: root/filamento/src/user.rs
blob: f30933ccf66303b0b23f8cc0215227cc9f0dc166 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
use jid::JID;

#[derive(Debug, Clone, PartialEq, Eq)]
#[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))]
#[cfg_attr(feature = "reactive_stores", derive(reactive_stores::Store))]
pub struct User {
    pub jid: JID,
    pub nick: Option<String>,
    pub avatar: Option<String>,
    // pub cached_status_message: Option<String>,
}