pub struct Set {
pub id: String,
pub name: String,
pub series: String,
pub printed_total: usize,
pub total: usize,
pub legalities: Legality,
pub ptcgo_code: Option<String>,
pub release_date: String,
pub updated_at: String,
pub images: SetImages,
}
Expand description
The Set Object https://docs.pokemontcg.io/api-reference/sets/set-object
Fields§
§id: String
Unique identifier for the object.
name: String
The name of the set.
series: String
The series the set belongs to, like Sword and Shield or Base.
printed_total: usize
The number printed on the card that represents the total. This total does not include secret rares.
total: usize
The total number of cards in the set, including secret rares, alternate art, etc.
legalities: Legality
The legalities of the set. If a given format is not legal, it will not appear in the hash.
ptcgo_code: Option<String>
The code the Pokémon Trading Card Game Online uses to identify a set.
release_date: String
The date the set was released (in the USA). Format is YYYY/MM/DD.
updated_at: String
The date and time the set was updated. Format is YYYY/MM/DD HH:MM:SS.
images: SetImages
Any images associated with the set, such as symbol and logo.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Set
impl<'de> Deserialize<'de> for Set
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 Set
impl RefUnwindSafe for Set
impl Send for Set
impl Sync for Set
impl Unpin for Set
impl UnwindSafe for Set
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