mastodon_api\models/
tag.rs

1use serde::{Deserialize, Serialize};
2
3/// Represents a tag that is featured on a user's profile.
4#[derive(Debug, Clone, Deserialize, Serialize)]
5pub struct FeaturedTag {
6    /// The internal ID of the featured tag.
7    pub id: String,
8    /// The name of the tag.
9    pub name: String,
10    /// The URL to the tag's page on the instance.
11    pub url: String,
12    /// The number of statuses posted with this tag.
13    pub statuses_count: u64,
14    /// The time of the last status posted with this tag (ISO 8601).
15    pub last_status_at: String,
16}