Enum scryfall::card_searcher::SortMethod[][src]

pub enum SortMethod {
    Name,
    Set,
    Released,
    Rarity,
    Colour,
    Usd,
    Tix,
    Eur,
    Cmc,
    Power,
    Toughness,
    Edhrec,
    Artist,
}

The order parameter determines how Scryfall should sort the returned cards.

Variants

Name

Sort cards by name, A → Z

Set

Sort cards by their set and collector number: AAA/#1 → ZZZ/#999

Released

Sort cards by their release date: Newest → Oldest

Rarity

Sort cards by their rarity: Common → Mythic

Colour

Sort cards by their color and color identity: WUBRG → multicolor → colorless

Usd

Sort cards by their lowest known U.S. Dollar price: 0.01 → highest, null last

Tix

Sort cards by their lowest known TIX price: 0.01 → highest, null last

Eur

Sort cards by their lowest known Euro price: 0.01 → highest, null last

Cmc

Sort cards by their converted mana cost: 0 → highest

Power

Sort cards by their power: null → highest

Toughness

Sort cards by their toughness: null → highest

Edhrec

Sort cards by their EDHREC ranking: lowest → highest

Artist

Sort cards by their front-side artist name: A → Z

Trait Implementations

impl Clone for SortMethod[src]

impl Copy for SortMethod[src]

impl Debug for SortMethod[src]

impl Default for SortMethod[src]

impl<'de> Deserialize<'de> for SortMethod[src]

impl Eq for SortMethod[src]

impl Hash for SortMethod[src]

impl Ord for SortMethod[src]

impl Param for SortMethod[src]

impl PartialEq<SortMethod> for SortMethod[src]

impl PartialOrd<SortMethod> for SortMethod[src]

impl Serialize for SortMethod[src]

impl StructuralEq for SortMethod[src]

impl StructuralPartialEq for SortMethod[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.