nyantrack_common/
activity.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, PartialEq, Eq, Serialize, Deserialize)]
4pub enum ActivityPrivacy {
5    /// All users can see this activity.
6    Public,
7    /// Only users who follow this user or those within the same instance who
8    /// have the ViewPrivateActivity permission can see this activity.
9    FollowersOnly,
10    /// Only users who both follow and are followed by this user, or those
11    /// within the same instance who have the ViewPrivateActivity permission,
12    /// can see this activity.
13    MutualsOnly,
14    /// No one except users within the same instance who have the
15    /// ViewPrivateActivity permission can see this activity.
16    Private,
17}