Enum atrium_api::app::bsky::actor::defs::PreferencesItem
source · pub enum PreferencesItem {
AdultContentPref(Box<AdultContentPref>),
ContentLabelPref(Box<ContentLabelPref>),
SavedFeedsPref(Box<SavedFeedsPref>),
PersonalDetailsPref(Box<PersonalDetailsPref>),
FeedViewPref(Box<FeedViewPref>),
ThreadViewPref(Box<ThreadViewPref>),
InterestsPref(Box<InterestsPref>),
MutedWordsPref(Box<MutedWordsPref>),
HiddenPostsPref(Box<HiddenPostsPref>),
}
Variants§
AdultContentPref(Box<AdultContentPref>)
ContentLabelPref(Box<ContentLabelPref>)
SavedFeedsPref(Box<SavedFeedsPref>)
PersonalDetailsPref(Box<PersonalDetailsPref>)
FeedViewPref(Box<FeedViewPref>)
ThreadViewPref(Box<ThreadViewPref>)
InterestsPref(Box<InterestsPref>)
MutedWordsPref(Box<MutedWordsPref>)
HiddenPostsPref(Box<HiddenPostsPref>)
Trait Implementations§
source§impl Clone for PreferencesItem
impl Clone for PreferencesItem
source§fn clone(&self) -> PreferencesItem
fn clone(&self) -> PreferencesItem
Returns a copy 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 PreferencesItem
impl Debug for PreferencesItem
source§impl<'de> Deserialize<'de> for PreferencesItem
impl<'de> Deserialize<'de> for PreferencesItem
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 PreferencesItem
impl PartialEq for PreferencesItem
source§fn eq(&self, other: &PreferencesItem) -> bool
fn eq(&self, other: &PreferencesItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PreferencesItem
impl Serialize for PreferencesItem
impl Eq for PreferencesItem
impl StructuralPartialEq for PreferencesItem
Auto Trait Implementations§
impl RefUnwindSafe for PreferencesItem
impl Send for PreferencesItem
impl Sync for PreferencesItem
impl Unpin for PreferencesItem
impl UnwindSafe for PreferencesItem
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