pub enum FeedSort {
Date,
Score,
Active,
Random,
Controversial,
Diverse,
Unpopular,
}Expand description
Sort order for post feeds.
Variants§
Date
Score
Active
Random
Controversial
Diverse
Unpopular
Lowest score first within a recency window (not all-time-worst) — gives recently buried content a second chance in front of fresh readers. The direct counterweight to vote-herding’s rich-get-richer loop (issue #280): herding is upvote-biased, so correction requires exposure, and this is where a pre-punished post gets it.
Trait Implementations§
impl Copy for FeedSort
Source§impl<'de> Deserialize<'de> for FeedSort
impl<'de> Deserialize<'de> for FeedSort
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
impl Eq for FeedSort
impl StructuralPartialEq for FeedSort
Auto Trait Implementations§
impl Freeze for FeedSort
impl RefUnwindSafe for FeedSort
impl Send for FeedSort
impl Sync for FeedSort
impl Unpin for FeedSort
impl UnsafeUnpin for FeedSort
impl UnwindSafe for FeedSort
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