Struct artifact_serde::Card

source ·
pub struct Card {
Show 19 fields pub card_id: usize, pub base_card_id: usize, pub card_type: String, pub sub_type: String, pub card_name: TranslatedText, pub card_text: TranslatedText, pub mini_image: Image, pub large_image: Image, pub ingame_image: Image, pub illustrator: String, pub is_red: bool, pub is_green: bool, pub is_blue: bool, pub is_black: bool, pub gold_cost: usize, pub mana_cost: usize, pub attack: usize, pub hit_points: usize, pub references: Vec<Reference>,
}

Fields

card_id: usizebase_card_id: usizecard_type: Stringsub_type: Stringcard_name: TranslatedTextcard_text: TranslatedTextmini_image: Imagelarge_image: Imageingame_image: Imageillustrator: Stringis_red: boolis_green: boolis_blue: boolis_black: boolgold_cost: usizemana_cost: usizeattack: usizehit_points: usizereferences: Vec<Reference>

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.