mastodon API rust lib elefren, fixed and updated. and also all ASYNC! NB. most examples are now wrong.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/// 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,
|
|
|
|
}
|