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

#[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: BareJID,
    pub nick: Option<String>,
    pub avatar: Option<String>,
    // pub cached_status_message: Option<String>,
}