Enum scryfall::card_searcher::UniqueStrategy[][src]

pub enum UniqueStrategy {
    Cards,
    Arts,
    Prints,
}

The unique parameter specifies if Scryfall should remove “duplicate” results in your query.

Variants

Cards

Removes duplicate gameplay objects (cards that share a name and have the same functionality). For example, if your search matches more than one print of Pacifism, only one copy of Pacifism will be returned.

Arts

Returns only one copy of each unique artwork for matching cards. For example, if your search matches more than one print of Pacifism, one card with each different illustration for Pacifism will be returned, but any cards that duplicate artwork already in the results will be omitted.

Prints

Returns all prints for all cards matched (disables rollup). For example, if your search matches more than one print of Pacifism, all matching prints will be returned.

Trait Implementations

impl Clone for UniqueStrategy[src]

impl Copy for UniqueStrategy[src]

impl Debug for UniqueStrategy[src]

impl Default for UniqueStrategy[src]

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

impl Eq for UniqueStrategy[src]

impl Hash for UniqueStrategy[src]

impl Ord for UniqueStrategy[src]

impl Param for UniqueStrategy[src]

impl PartialEq<UniqueStrategy> for UniqueStrategy[src]

impl PartialOrd<UniqueStrategy> for UniqueStrategy[src]

impl Serialize for UniqueStrategy[src]

impl StructuralEq for UniqueStrategy[src]

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