Enum crates_io_api::Sort [−][src]
pub enum Sort { Alphabetical, Relevance, Downloads, }
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.
Trait Implementations
impl Debug for Sort
[src]
impl Debug for Sort
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Sort
[src]
impl Clone for Sort