pub struct ForeignData {
pub face_name: Option<String>,
pub flavor_text: Option<String>,
pub language: Language,
pub multiverse_id: Option<u32>,
pub name: String,
pub text: Option<String>,
pub card_type: Option<String>,
}Expand description
Describes a list of properties for various Card Data Models in alternate languages.
Fields§
§face_name: Option<String>The foreign name on the face of the card.
flavor_text: Option<String>The foreign flavor text of the card.
language: LanguageThe foreign language of card.
multiverse_id: Option<u32>The foreign multiverse identifier of the card.
name: StringThe foreign name of the card.
text: Option<String>The foreign text ruling of the card.
card_type: Option<String>The foreign type of the card. Includes any supertypes and subtypes.
Trait Implementations§
Source§impl Clone for ForeignData
impl Clone for ForeignData
Source§fn clone(&self) -> ForeignData
fn clone(&self) -> ForeignData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ForeignData
impl Debug for ForeignData
Source§impl<'de> Deserialize<'de> for ForeignData
impl<'de> Deserialize<'de> for ForeignData
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 ForeignData
impl RefUnwindSafe for ForeignData
impl Send for ForeignData
impl Sync for ForeignData
impl Unpin for ForeignData
impl UnwindSafe for ForeignData
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