pub struct DeckSet {
pub code: String,
pub commander: Option<Vec<CardSetDeck>>,
pub main_board: Vec<CardSetDeck>,
pub name: String,
pub release_date: Option<String>,
pub sealed_product_uuids: Option<Vec<Uuid>>,
pub side_board: Vec<CardSetDeck>,
pub deck_set_type: String,
}Expand description
The Deck (Set) Data Model describes the properties of an individual Deck within a Set.
Fields§
§code: StringThe printing set code for the deck.
commander: Option<Vec<CardSetDeck>>The card that is the Commander in this deck.
main_board: Vec<CardSetDeck>The cards in the main-board.
name: StringThe name of the deck.
release_date: Option<String>The release date in ISO 8601 format for the set.
sealed_product_uuids: Option<Vec<Uuid>>A list of UUID’s associated to this Deck in a Sealed Product.
side_board: Vec<CardSetDeck>The cards in the side-board.
deck_set_type: StringThe type of deck.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DeckSet
impl<'de> Deserialize<'de> for DeckSet
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DeckSet
impl RefUnwindSafe for DeckSet
impl Send for DeckSet
impl Sync for DeckSet
impl Unpin for DeckSet
impl UnwindSafe for DeckSet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more