Enum lemmy_db_schema::SortType
source · pub enum SortType {
Show 19 variants
Active,
Hot,
New,
Old,
TopDay,
TopWeek,
TopMonth,
TopYear,
TopAll,
MostComments,
NewComments,
TopHour,
TopSixHour,
TopTwelveHour,
TopThreeMonths,
TopSixMonths,
TopNineMonths,
Controversial,
Scaled,
}
Expand description
The post sort types. See here for descriptions: https://join-lemmy.org/docs/en/users/03-votes-and-ranking.html
Variants§
Active
Hot
New
Old
TopDay
TopWeek
TopMonth
TopYear
TopAll
MostComments
NewComments
TopHour
TopSixHour
TopTwelveHour
TopThreeMonths
TopSixMonths
TopNineMonths
Controversial
Scaled
Trait Implementations§
source§impl<'de> Deserialize<'de> for SortType
impl<'de> Deserialize<'de> for SortType
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 SortType
impl PartialEq for SortType
impl Copy for SortType
impl Eq for SortType
impl StructuralEq for SortType
impl StructuralPartialEq for SortType
Auto Trait Implementations§
impl RefUnwindSafe for SortType
impl Send for SortType
impl Sync for SortType
impl Unpin for SortType
impl UnwindSafe for SortType
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