pub enum ActivityPrivacy {
Public,
FollowersOnly,
MutualsOnly,
Private,
}Variants§
Public
All users can see this activity.
FollowersOnly
Only users who follow this user or those within the same instance who have the ViewPrivateActivity permission can see this activity.
MutualsOnly
Only users who both follow and are followed by this user, or those within the same instance who have the ViewPrivateActivity permission, can see this activity.
Private
No one except users within the same instance who have the ViewPrivateActivity permission can see this activity.
Trait Implementations§
Source§impl Debug for ActivityPrivacy
impl Debug for ActivityPrivacy
Source§impl<'de> Deserialize<'de> for ActivityPrivacy
impl<'de> Deserialize<'de> for ActivityPrivacy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ActivityPrivacy
impl PartialEq for ActivityPrivacy
Source§impl Serialize for ActivityPrivacy
impl Serialize for ActivityPrivacy
impl Eq for ActivityPrivacy
impl StructuralPartialEq for ActivityPrivacy
Auto Trait Implementations§
impl Freeze for ActivityPrivacy
impl RefUnwindSafe for ActivityPrivacy
impl Send for ActivityPrivacy
impl Sync for ActivityPrivacy
impl Unpin for ActivityPrivacy
impl UnwindSafe for ActivityPrivacy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more