Enum lemmy_db_schema::CommentSortType
source · pub enum CommentSortType {
Hot,
Top,
New,
Old,
Controversial,
}
Expand description
The comment sort types. See here for descriptions: https://join-lemmy.org/docs/en/users/03-votes-and-ranking.html
Variants§
Trait Implementations§
source§impl Clone for CommentSortType
impl Clone for CommentSortType
source§fn clone(&self) -> CommentSortType
fn clone(&self) -> CommentSortType
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 CommentSortType
impl Debug for CommentSortType
source§impl<'de> Deserialize<'de> for CommentSortType
impl<'de> Deserialize<'de> for CommentSortType
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 Display for CommentSortType
impl Display for CommentSortType
source§impl FromStr for CommentSortType
impl FromStr for CommentSortType
source§impl Serialize for CommentSortType
impl Serialize for CommentSortType
source§impl TryFrom<&str> for CommentSortType
impl TryFrom<&str> for CommentSortType
impl Copy for CommentSortType
Auto Trait Implementations§
impl RefUnwindSafe for CommentSortType
impl Send for CommentSortType
impl Sync for CommentSortType
impl Unpin for CommentSortType
impl UnwindSafe for CommentSortType
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