summaryrefslogtreecommitdiffstats
path: root/src/entities/mention.rs
blob: 8c5a39295ca67e8a892cccbc3fac49b6a6995ded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/// Represents a `mention` used in a status
#[derive(Debug, Clone, PartialEq)]
pub struct Mention {
    /// URL of user's profile (can be remote)
    pub url: String,
    /// The username of the account
    pub username: String,
    /// Equals username for local users, includes `@domain` for remote ones
    pub acct: String,
    /// Account ID
    pub id: String,
}