Module scryfall::card[][src]

This module provides a defenition of a Magic: The Gathering card, as well as, ways to fetch them from scryfall.

All the card's fields are public and identic in name to the ones documented in the oficial scryfall page.

Modules

border_color

Enum defining the colors a mtg card border can have.

card_faces

Sub card object used when a magic card has more then one card face.

color

Enum defining the 5 colors of magic

frame

Enum describing the various magic card frames

frame_effect

Enum describing the various frame effects a border can have.

game

Enum defining the exiting platforms on with a magic card can exist.

layout

Enum describing the various layouts a magic card can have.

legality

Enum describing the 4 states of legality a card can have.

preview

Struct describing card preview information.

price

Module defining a price object containing data in various currencies.

rarity

Enum defining the 4 different rarities a card can come in.

related_card

Module defining a related card.

Structs

Card

A Card object containing all fields that scryfall provides,

CardFace

Sub card object used when a magic card has more then one card face.

Preview

Struct describing card preview information.

Price

Struct defining a price object containing data in various currencies.

RelatedCard

Related card object. Refer to the official docs for information on the fields.

Enums

BorderColour

Enum defining the colors a mtg card border can have.

Colour

Enum defining the 5 colors of magic

Frame

Enum describing the various magic card frames

FrameEffect

Enum describing the various frame effects a border can have.

Game

Enum defining the exiting platforms on with a magic card can exist.

Layout

Enum describing the various layouts a magic card can have.

Legality

Enum describing the 4 states of legality a card can have.

Rarity

Enum defining the 4 different rarities a card can come in.