pub struct SetCard {Show 82 fields
pub artist: Option<String>,
pub artist_ids: Option<Vec<String>>,
pub ascii_name: Option<String>,
pub attraction_lights: Option<Vec<u8>>,
pub availability: Vec<Availability>,
pub booster_types: Option<Vec<BoosterType>>,
pub border_color: BorderColor,
pub card_parts: Option<Vec<String>>,
pub color_identity: Vec<Color>,
pub color_indicator: Option<Vec<Color>>,
pub colors: Vec<Color>,
pub converted_mana_cost: f32,
pub duel_deck: Option<DuelDeck>,
pub edhrec_rank: Option<u32>,
pub face_converted_mana_cost: Option<f32>,
pub face_flavor_name: Option<String>,
pub face_mana_value: Option<f32>,
pub face_name: Option<String>,
pub finishes: Vec<Finish>,
pub flavor_name: Option<String>,
pub flavor_text: Option<String>,
pub foreign_data: Vec<ForeignData>,
pub frame_effects: Option<Vec<FrameEffect>>,
pub frame_version: FrameVersion,
pub hand: Option<String>,
pub has_alternative_deck_limit: Option<bool>,
pub has_content_warning: Option<bool>,
pub has_foil: bool,
pub has_non_foil: bool,
pub identifiers: Identifiers,
pub is_alternative: Option<bool>,
pub is_full_art: Option<bool>,
pub is_funny: Option<bool>,
pub is_online_only: Option<bool>,
pub is_oversized: Option<bool>,
pub is_promo: Option<bool>,
pub is_rebalanced: Option<bool>,
pub is_reprint: Option<bool>,
pub is_reserved: Option<bool>,
pub is_starter: Option<bool>,
pub is_story_spotlight: Option<bool>,
pub is_textless: Option<bool>,
pub is_timeshifted: Option<bool>,
pub keywords: Option<Vec<String>>,
pub language: Language,
pub layout: Layout,
pub leadership_skills: Option<LeadershipSkills>,
pub legalities: Legalities,
pub life: Option<String>,
pub loyalty: Option<String>,
pub mana_cost: Option<String>,
pub mana_value: f32,
pub name: String,
pub number: String,
pub original_printings: Option<Vec<Uuid>>,
pub original_release_date: Option<NaiveDate>,
pub original_text: Option<String>,
pub original_type: Option<String>,
pub other_face_ids: Option<Vec<Uuid>>,
pub power: Option<String>,
pub printings: Option<Vec<String>>,
pub promo_types: Option<Vec<PromoType>>,
pub purchase_urls: PurchaseUrls,
pub rarity: Rarity,
pub rebalanced_printings: Option<Vec<Uuid>>,
pub related_cards: Option<RelatedCards>,
pub reverse_related: Option<Vec<String>>,
pub rulings: Option<Vec<Ruling>>,
pub security_stamp: Option<SecurityStamp>,
pub set_code: String,
pub side: Option<Side>,
pub signature: Option<String>,
pub subset: Option<Vec<String>>,
pub subtypes: Vec<String>,
pub supertypes: Vec<String>,
pub text: Option<String>,
pub toughness: Option<String>,
pub card_type: String,
pub card_types: Vec<String>,
pub uuid: Uuid,
pub variations: Vec<Uuid>,
pub watermark: Option<String>,
}Expand description
Represents a card printed in a set.
Fields§
§artist: Option<String>The name of the artist that illustrated the card art.
artist_ids: Option<Vec<String>>A list of identifiers for the artists that illustrated the card art.
ascii_name: Option<String>The ASCII (Basic/128) code formatted card name with no special unicode characters.
attraction_lights: Option<Vec<u8>>The attraction lights on the card.
availability: Vec<Availability>A list of the card’s available printing types.
booster_types: Option<Vec<BoosterType>>A list of types this card is in a booster pack.
border_color: BorderColorThe color of the card border.
card_parts: Option<Vec<String>>The related parts of the card.
color_identity: Vec<Color>A list of all the colors found in mana_cost, color_indicator, and text.
color_indicator: Option<Vec<Color>>A list of all the colors in the color indicator (The symbol prefixed to a card’s types).
colors: Vec<Color>A list of all the colors in mana_cost and color_indicator. Some cards may not have values, such as cards with “Devoid” in its text.
converted_mana_cost: f32The converted mana cost of the card. Use the mana_value property.
duel_deck: Option<DuelDeck>The duel deck this card was included in.
edhrec_rank: Option<u32>The card rank on EDHRec.
face_converted_mana_cost: Option<f32>The converted mana cost or mana value for the face for either half or part of the card. Use the face_mana_value property.
face_flavor_name: Option<String>The flavor name on the face of the card.
face_mana_value: Option<f32>The mana value of the face for either half or part of the card. Formally known as “converted mana cost”.
face_name: Option<String>The name on the face of the card.
finishes: Vec<Finish>The finishes of the card.
flavor_name: Option<String>The promotional card name printed above the true card name on special cards that has no game function.
flavor_text: Option<String>The italicized text found below the rules text that has no game function.
foreign_data: Vec<ForeignData>A list of data properties in other languages.
frame_effects: Option<Vec<FrameEffect>>The visual frame effects.
frame_version: FrameVersionThe version of the card frame style.
hand: Option<String>The starting maximum hand size total modifier. A + or - character precedes an integer.
has_alternative_deck_limit: Option<bool>If the card allows a value other than 4 copies in a deck.
has_content_warning: Option<bool>If the card marked by Wizards of the Coast for having sensitive content. Cards with this property may have missing or degraded properties and values.
has_foil: boolIf the card can be found in foil. Use the finishes property.
has_non_foil: boolIf the card can be found in non-foil. Use the finishes property.
identifiers: IdentifiersA list of identifiers associated to a card.
is_alternative: Option<bool>If the card is an alternate variation to an original printing.
is_full_art: Option<bool>If the card has full artwork.
is_funny: Option<bool>If the card is part of a funny set.
is_online_only: Option<bool>If the card is only available in online game variations.
is_oversized: Option<bool>If the card is oversized.
is_promo: Option<bool>If the card is a promotional printing.
is_rebalanced: Option<bool>If the card is rebalanced for the Alchemy play format.
is_reprint: Option<bool>If the card has been reprinted.
is_reserved: Option<bool>If the card is on the Magic: The Gathering Reserved List.
is_starter: Option<bool>If the card is found in a starter deck such as Planeswalker/Brawl decks.
is_story_spotlight: Option<bool>If the card is a Story Spotlight card.
is_textless: Option<bool>If the card does not have a text box.
is_timeshifted: Option<bool>If the card is “timeshifted”, a feature of certain sets where a card will have a different frame_version.
keywords: Option<Vec<String>>A list of keywords found on the card.
language: LanguageThe language the card is printed in.
layout: LayoutThe type of card layout. For a token card, this will be “token”.
leadership_skills: Option<LeadershipSkills>A list of formats the card is legal to be a commander in.
legalities: LegalitiesA list of play formats the card the card is legal in.
life: Option<String>The starting life total modifier. A plus or minus character precedes an integer. Used only on cards with “Vanguard” in its types.
loyalty: Option<String>The starting loyalty value of the card. Used only on cards with “Planeswalker” in its types.
mana_cost: Option<String>The mana cost of the card wrapped in brackets for each value.
mana_value: f32The mana value of the card. Formally known as “converted mana cost”.
name: StringThe name of the card. Cards with multiple faces, like “Split” and “Meld” cards are given a delimiter.
number: StringThe number of the card. Can be prefixed or suffixed with a * or other characters for promotional sets.
original_printings: Option<Vec<Uuid>>A list of card UUID’s to original printings of the card if this card is somehow different from its original, such as rebalanced cards.
original_release_date: Option<NaiveDate>The original release date in ISO 8601 format for a promotional card printed outside of a cycle window, such as Secret Lair Drop promotions.
original_text: Option<String>The text on the card as originally printed.
original_type: Option<String>The type of the card as originally printed. Includes any supertypes and subtypes.
other_face_ids: Option<Vec<Uuid>>A list of card UUID’s to this card’s counterparts, such as transformed or melded faces.
power: Option<String>The power of the card.
printings: Option<Vec<String>>A list of set printing codes the card was printed in, formatted in uppercase.
promo_types: Option<Vec<PromoType>>A list of promotional types for a card.
purchase_urls: PurchaseUrlsLinks that navigate to websites where the card can be purchased.
rarity: RarityThe card printing rarity. Rarity bonus relates to cards that have an alternate availability in booster packs, while special relates to “Timeshifted” cards.
rebalanced_printings: Option<Vec<Uuid>>Rebalanced digital printings.
Related cards.
Reverse related cards.
rulings: Option<Vec<Ruling>>The official rulings of the card.
security_stamp: Option<SecurityStamp>The security stamp printed on the card.
set_code: StringThe set printing code that the card is from.
side: Option<Side>The identifier of the card side. Used on cards with multiple faces on the same card.
signature: Option<String>The name of the signature on the card.
subset: Option<Vec<String>>The subset of the card.
subtypes: Vec<String>A list of card subtypes found after em-dash.
supertypes: Vec<String>A list of card supertypes found before em-dash.
text: Option<String>The rules text of the card.
toughness: Option<String>The toughness of the card.
card_type: StringThe type of the card as visible, including any supertypes and subtypes.
card_types: Vec<String>A list of all card types of the card, including Un‑sets and gameplay variants.
uuid: UuidThe universal unique identifier (v5) generated by MTGJSON. Each entry is unique.
variations: Vec<Uuid>A list of card UUID’s of this card with alternate printings in the same set. Excludes Un‑sets.
watermark: Option<String>The name of the watermark on the card.