[][src]Struct mtgapi_client::model::card::CardDetail

pub struct CardDetail {
    pub name: String,
    pub names: Vec<String>,
    pub mana_cost: Option<String>,
    pub cmc: f64,
    pub colors: Vec<String>,
    pub color_identity: Vec<String>,
    pub type_: String,
    pub supertypes: Vec<String>,
    pub types: Vec<String>,
    pub subtypes: Vec<String>,
    pub rarity: String,
    pub set: String,
    pub set_name: Option<String>,
    pub text: String,
    pub flavor: String,
    pub artist: String,
    pub number: Option<String>,
    pub power: Option<String>,
    pub toughness: Option<String>,
    pub layout: Option<String>,
    pub loyalty: Option<u32>,
    pub multiverseid: Option<u32>,
    pub image_url: Option<String>,
    pub rulings: Vec<Ruling>,
    pub watermark: Option<String>,
    pub release_date: Option<String>,
    pub foreign_names: Vec<ForeignName>,
    pub printings: Vec<String>,
    pub original_text: Option<String>,
    pub original_type: Option<String>,
    pub legalities: Vec<Legality>,
    pub variations: Vec<u32>,
    pub border: Option<String>,
    pub timeshifted: bool,
    pub hand: Option<i32>,
    pub life: Option<i32>,
    pub reserved: bool,
    pub starter: bool,
    pub source: Option<String>,
    pub id: String,
}

Fields

name: Stringnames: Vec<String>mana_cost: Option<String>cmc: f64colors: Vec<String>color_identity: Vec<String>type_: Stringsupertypes: Vec<String>types: Vec<String>subtypes: Vec<String>rarity: Stringset: Stringset_name: Option<String>text: Stringflavor: Stringartist: Stringnumber: Option<String>power: Option<String>toughness: Option<String>layout: Option<String>loyalty: Option<u32>multiverseid: Option<u32>image_url: Option<String>rulings: Vec<Ruling>watermark: Option<String>release_date: Option<String>foreign_names: Vec<ForeignName>printings: Vec<String>original_text: Option<String>original_type: Option<String>legalities: Vec<Legality>variations: Vec<u32>border: Option<String>timeshifted: boolhand: Option<i32>life: Option<i32>reserved: boolstarter: boolsource: Option<String>id: String

Trait Implementations

impl Debug for CardDetail[src]

impl<'de> Deserialize<'de> for CardDetail[src]

impl Serialize for CardDetail[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.