Enum crates_io_api::Sort
source · pub enum Sort {
Alphabetical,
Relevance,
Downloads,
RecentDownloads,
RecentUpdates,
NewlyAdded,
}
Expand description
Used to specify the sort behaviour of the Client::crates()
method.
Variants§
Alphabetical
Sort alphabetically.
Relevance
Sort by relevance (meaningless if used without a query).
Downloads
Sort by downloads.
RecentDownloads
Sort by recent downloads
RecentUpdates
Sort by recent updates
NewlyAdded
Sort by new
Trait Implementations§
source§impl PartialEq for Sort
impl PartialEq for Sort
impl Eq for Sort
impl StructuralPartialEq for Sort
Auto Trait Implementations§
impl Freeze for Sort
impl RefUnwindSafe for Sort
impl Send for Sort
impl Sync for Sort
impl Unpin for Sort
impl UnwindSafe for Sort
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