pub struct CardDetail {Show 40 fields
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: String§names: Vec<String>§mana_cost: Option<String>§cmc: f64§colors: Vec<String>§color_identity: Vec<String>§type_: String§supertypes: Vec<String>§types: Vec<String>§subtypes: Vec<String>§rarity: String§set: String§set_name: Option<String>§text: String§flavor: String§artist: String§number: 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: bool§hand: Option<i32>§life: Option<i32>§reserved: bool§starter: bool§source: Option<String>§id: StringTrait Implementations§
Source§impl Debug for CardDetail
impl Debug for CardDetail
Source§impl<'de> Deserialize<'de> for CardDetail
impl<'de> Deserialize<'de> for CardDetail
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 CardDetail
impl RefUnwindSafe for CardDetail
impl Send for CardDetail
impl Sync for CardDetail
impl Unpin for CardDetail
impl UnwindSafe for CardDetail
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more