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

#[non_exhaustive]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 (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future 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 Clone for SetType[src]

impl Copy for SetType[src]

impl Debug for SetType[src]

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

impl Eq for SetType[src]

impl Hash for SetType[src]

impl Ord for SetType[src]

impl PartialEq<SetType> for SetType[src]

impl PartialOrd<SetType> for SetType[src]

impl Serialize for SetType[src]

impl StructuralEq for SetType[src]

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