pub enum SortBy {
Hotness,
CommentCount,
DateCreated,
DateRun,
Relevance,
ScoreAscending,
ScoreDescending,
ViewCount,
VoteCount,
}
Expand description
How to sort the result
Variants§
Hotness
CommentCount
DateCreated
DateRun
Relevance
ScoreAscending
ScoreDescending
ViewCount
VoteCount
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SortBy
impl RefUnwindSafe for SortBy
impl Send for SortBy
impl Sync for SortBy
impl Unpin for SortBy
impl UnwindSafe for SortBy
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