pub struct Legalities {Show 20 fields
pub alchemy: Legality,
pub brawl: Legality,
pub commander: Legality,
pub duel: Legality,
pub explorer: Legality,
pub future: Legality,
pub gladiator: Legality,
pub historic: Legality,
pub historicbrawl: Legality,
pub legacy: Legality,
pub modern: Legality,
pub oathbreaker: Legality,
pub pauper: Legality,
pub pauper_commander: Legality,
pub penny: Legality,
pub pionner: Legality,
pub predh: Legality,
pub premodern: Legality,
pub standard: Legality,
pub vintage: Legality,
}Expand description
For each format in mtg_data::Format, the associated mtg_data::Legality.
Fields§
§alchemy: Legality§brawl: Legality§commander: Legality§duel: Legality§explorer: Legality§future: Legality§gladiator: Legality§historic: Legality§historicbrawl: Legality§legacy: Legality§modern: Legality§oathbreaker: Legality§pauper: Legality§pauper_commander: Legality§penny: Legality§pionner: Legality§predh: Legality§premodern: Legality§standard: Legality§vintage: LegalityImplementations§
Trait Implementations§
Source§impl Clone for Legalities
impl Clone for Legalities
Source§fn clone(&self) -> Legalities
fn clone(&self) -> Legalities
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 Legalities
impl Debug for Legalities
Source§impl<'de> Deserialize<'de> for Legalities
impl<'de> Deserialize<'de> for Legalities
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
Source§impl Serialize for Legalities
impl Serialize for Legalities
Source§impl TryFrom<&Legalities> for Legalities
impl TryFrom<&Legalities> for Legalities
Auto Trait Implementations§
impl Freeze for Legalities
impl RefUnwindSafe for Legalities
impl Send for Legalities
impl Sync for Legalities
impl Unpin for Legalities
impl UnwindSafe for Legalities
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