[][src]Enum scryfall::set::SetType

pub enum SetType {
    Core,
    Expansion,
    Masters,
    Masterpiece,
    FromTheVault,
    Spellbook,
    PremiumDeck,
    DuelDeck,
    DraftInnovation,
    TreasureChest,
    Commander,
    Planechase,
    Archenemy,
    Vanguard,
    Funny,
    Starter,
    GiftBox,
    Promo,
    Token,
    Memorabilia,
}

Scryfall provides an overall categorization for each Set in the set_type property.

Variants

Core

A yearly Magic core set (Tenth Edition, etc)

Expansion

A rotational expansion set in a block (Zendikar, etc)

Masters

A reprint set that contains no new cards (Modern Masters, etc)

Masterpiece

Masterpiece Series premium foil cards

FromTheVault

From the Vault gift sets

Spellbook

Spellbook series gift sets

PremiumDeck

Premium Deck Series decks

DuelDeck

Duel Decks

DraftInnovation

Special draft sets, like Conspiracy and Battlebond

TreasureChest

Magic Online treasure chest prize sets

Commander

Commander preconstructed decks

Planechase

Planechase sets

Archenemy

Archenemy sets

Vanguard

Vanguard card sets

Funny

A funny un-set or set with funny promos (Unglued, Happy Holidays, etc)

Starter

A starter/introductory set (Portal, etc)

GiftBox

A gift box set

Promo

A set that contains purely promotional cards

Token

A set made up of tokens and emblems.

Memorabilia

A set made up of gold-bordered, oversize, or trophy cards that are not legal

Trait Implementations

impl Eq for SetType[src]

impl Ord for SetType[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl PartialEq<SetType> for SetType[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Copy for SetType[src]

impl Clone for SetType[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialOrd<SetType> for SetType[src]

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Debug for SetType[src]

impl Hash for SetType[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Serialize for SetType[src]

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

Auto Trait Implementations

impl Send for SetType

impl Sync for SetType

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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