[−][src]Module scryfall::card
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.
Re-exports
pub use border_color::BorderColor; |
pub use card_faces::CardFace; |
pub use color::Color; |
pub use frame::Frame; |
pub use frame_effect::FrameEffect; |
pub use game::Game; |
pub use layout::Layout; |
pub use legality::Legality; |
pub use price::Price; |
pub use rarity::Rarity; |
pub use related_card::RelatedCard; |
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. |
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 |