Enum crates_io_api::Sort[][src]

pub enum Sort {
    Alphabetical,
    Relevance,
    Downloads,
}

Used to specify the sort behaviour of the Client::crates() method.

Variants

Sort alphabetically.

Sort by relevance (meaningless if used without a query).

Sort by downloads.

Trait Implementations

impl Debug for Sort
[src]

Formats the value using the given formatter. Read more

impl Clone for Sort
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Sort

impl Sync for Sort