pub struct Set {Show 29 fields
pub base_set_size: usize,
pub block: Option<String>,
pub booster: Option<Booster>,
pub cards: Vec<SetCard>,
pub cardsphere_set_id: Option<u32>,
pub code: String,
pub code_v3: Option<String>,
pub decks: Option<Vec<DeckSet>>,
pub is_foreign_only: Option<bool>,
pub is_foil_only: bool,
pub is_non_foil_only: Option<bool>,
pub is_online_only: bool,
pub is_paper_only: Option<bool>,
pub is_partial_preview: Option<bool>,
pub keyrune_code: String,
pub languages: Option<Vec<Language>>,
pub mcm_id: Option<u32>,
pub mcm_id_extras: Option<u32>,
pub mcm_name: Option<String>,
pub mtgo_code: Option<String>,
pub name: String,
pub parent_code: Option<String>,
pub release_date: NaiveDate,
pub sealed_product: Option<Vec<SealedProduct>>,
pub tcgplayer_group_id: Option<u32>,
pub tokens: Vec<TokenCard>,
pub total_set_size: usize,
pub translations: HashMap<Language, Option<String>>,
pub set_type: String,
}Expand description
Describes the properties and values of an individual Set.
Fields§
§base_set_size: usizeThe number of cards in the set. This will default
to total_set_size if not available. Wizards of the Coast
sometimes prints extra cards beyond the set size into
promos or supplemental products.
block: Option<String>The block name the set was in.
booster: Option<Booster>A breakdown of possibilities and weights of cards in a booster pack.
cards: Vec<SetCard>The list of cards in the set.
cardsphere_set_id: Option<u32>The Cardsphere set identifier.
code: StringThe set code for the set.
code_v3: Option<String>The alternate set code Wizards of the Coast uses for a select few duel deck sets.
decks: Option<Vec<DeckSet>>All decks associated to the set.
is_foreign_only: Option<bool>If the set is available only outside the United States of America.
is_foil_only: boolIf the set is only available in foil.
is_non_foil_only: Option<bool>If the set is only available in non-foil.
is_online_only: boolIf the set is only available in online game variations.
is_paper_only: Option<bool>If the set is available only in paper.
is_partial_preview: Option<bool>If the set is still in preview (spoiled). Preview sets do not have complete data.
keyrune_code: StringThe matching Keyrune code for set image icons.
languages: Option<Vec<Language>>The languages the set was printed in.
mcm_id: Option<u32>The Magic Card Market set identifier.
mcm_id_extras: Option<u32>The split Magic Card Market set identifier if a set is printed in two sets. This identifier represents the second set’s identifier.
mcm_name: Option<String>The Magic Card Market set name.
mtgo_code: Option<String>The set code for the set as it appears on Magic: The Gathering Online.
name: StringThe name of the set.
parent_code: Option<String>The parent set code for set variations like promotions, guild kits, etc.
release_date: NaiveDateThe release date in ISO 8601 format for the set.
sealed_product: Option<Vec<SealedProduct>>The sealed product information for the set.
tcgplayer_group_id: Option<u32>The group identifier of the set on TCGplayer.
tokens: Vec<TokenCard>The tokens available to the set.
total_set_size: usizeThe total number of cards in the set, including promotional and related supplemental products but excluding Alchemy modifications - however those cards are included in the set itself.
translations: HashMap<Language, Option<String>>The translated set name by language.
set_type: StringThe expansion type of the set.