pub enum StoryPrivacySettings {
Everyone(StoryPrivacySettingsEveryone),
Contacts(StoryPrivacySettingsContacts),
CloseFriends,
SelectedUsers(StoryPrivacySettingsSelectedUsers),
}
Variants§
Everyone(StoryPrivacySettingsEveryone)
The story can be viewed by everyone
Contacts(StoryPrivacySettingsContacts)
The story can be viewed by all contacts except chosen users
CloseFriends
The story can be viewed by all close friends
SelectedUsers(StoryPrivacySettingsSelectedUsers)
The story can be viewed by certain specified users
Trait Implementations§
Source§impl Clone for StoryPrivacySettings
impl Clone for StoryPrivacySettings
Source§fn clone(&self) -> StoryPrivacySettings
fn clone(&self) -> StoryPrivacySettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StoryPrivacySettings
impl Debug for StoryPrivacySettings
Source§impl<'de> Deserialize<'de> for StoryPrivacySettings
impl<'de> Deserialize<'de> for StoryPrivacySettings
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 StoryPrivacySettings
impl PartialEq for StoryPrivacySettings
Source§impl Serialize for StoryPrivacySettings
impl Serialize for StoryPrivacySettings
impl StructuralPartialEq for StoryPrivacySettings
Auto Trait Implementations§
impl Freeze for StoryPrivacySettings
impl RefUnwindSafe for StoryPrivacySettings
impl Send for StoryPrivacySettings
impl Sync for StoryPrivacySettings
impl Unpin for StoryPrivacySettings
impl UnwindSafe for StoryPrivacySettings
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