Enum scryfall::card_searcher::SortDirection[][src]

pub enum SortDirection {
    Auto,
    Ascending,
    Descending,
}

Which direction the sorting should occur:

Variants

Auto

Scryfall will automatically choose the most inuitive direction to sort

Ascending

Sort ascending (flip the direction of the arrows in SortMethod)

Descending

Sort descending (flip the direction of the arrows in SortMethod)

Trait Implementations

impl Clone for SortDirection[src]

impl Copy for SortDirection[src]

impl Debug for SortDirection[src]

impl Default for SortDirection[src]

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

impl Eq for SortDirection[src]

impl Hash for SortDirection[src]

impl Ord for SortDirection[src]

impl Param for SortDirection[src]

impl PartialEq<SortDirection> for SortDirection[src]

impl PartialOrd<SortDirection> for SortDirection[src]

impl Serialize for SortDirection[src]

impl StructuralEq for SortDirection[src]

impl StructuralPartialEq for SortDirection[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.