mastodon_api\models/
suggestion.rs

1use crate::models::Account;
2use serde::{Deserialize, Serialize};
3
4/// Represents a suggested account to follow.
5#[derive(Debug, Clone, Deserialize, Serialize)]
6pub struct Suggestion {
7    /// The reason why this account is being suggested.
8    pub source: String,
9    /// The account being suggested.
10    pub account: Account,
11}