Enum scl_core::download::curseforge::SearchSortMethod
source · pub enum SearchSortMethod {
Featured,
Populatity,
LastUpdate,
Name,
Author,
TotalDownloads,
}
Expand description
使用搜索 API 时的排序方式
Variants§
Featured
按推荐排序
Populatity
按热门度排序
LastUpdate
按最新更新排序
Name
按名称排序
Author
按作者名称排序
TotalDownloads
按总下载量排序
Trait Implementations§
source§impl Clone for SearchSortMethod
impl Clone for SearchSortMethod
source§fn clone(&self) -> SearchSortMethod
fn clone(&self) -> SearchSortMethod
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 SearchSortMethod
impl Debug for SearchSortMethod
source§impl Default for SearchSortMethod
impl Default for SearchSortMethod
source§fn default() -> SearchSortMethod
fn default() -> SearchSortMethod
Returns the “default value” for a type. Read more
impl Copy for SearchSortMethod
Auto Trait Implementations§
impl RefUnwindSafe for SearchSortMethod
impl Send for SearchSortMethod
impl Sync for SearchSortMethod
impl Unpin for SearchSortMethod
impl UnwindSafe for SearchSortMethod
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