[][src]Struct scryfall::card::card_faces::CardFace

pub struct CardFace {
    pub artist: Option<String>,
    pub color_indicator: Option<Vec<Color>>,
    pub colors: Option<Vec<Color>>,
    pub flavor_text: Option<String>,
    pub illustration_id: Option<UUID>,
    pub image_uris: Option<HashMap<String, String>>,
    pub loyalty: Option<String>,
    pub mana_cost: String,
    pub name: String,
    pub oracle_text: Option<String>,
    pub power: Option<String>,
    pub printed_name: Option<String>,
    pub printed_text: Option<String>,
    pub printed_type_line: Option<String>,
    pub toughness: Option<String>,
    pub type_line: String,
    pub watermark: Option<String>,
}

Sub card object used when a magic card has more then one card face.

For documentation about the fields, please refer to the official scryfall documentation

Fields

artist: Option<String>color_indicator: Option<Vec<Color>>colors: Option<Vec<Color>>flavor_text: Option<String>illustration_id: Option<UUID>image_uris: Option<HashMap<String, String>>loyalty: Option<String>mana_cost: Stringname: Stringoracle_text: Option<String>power: Option<String>printed_name: Option<String>printed_text: Option<String>printed_type_line: Option<String>toughness: Option<String>type_line: Stringwatermark: Option<String>

Trait Implementations

impl Eq for CardFace[src]

impl PartialEq<CardFace> for CardFace[src]

impl Clone for CardFace[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for CardFace[src]

impl Serialize for CardFace[src]

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

Auto Trait Implementations

impl Send for CardFace

impl Sync for CardFace

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for 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.

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

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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