[][src]Enum scryfall::card::Legality

pub enum Legality {
    Legal,
    NotLegal,
    Restricted,
    Banned,
}

Enum describing the 4 states of legality a card can have.

Variants

Legal
NotLegal
Restricted
Banned

Trait Implementations

impl Clone for Legality[src]

impl Copy for Legality[src]

impl Eq for Legality[src]

impl Ord for Legality[src]

impl PartialEq<Legality> for Legality[src]

impl PartialOrd<Legality> for Legality[src]

impl Debug for Legality[src]

impl Hash for Legality[src]

impl StructuralPartialEq for Legality[src]

impl StructuralEq for Legality[src]

impl Serialize for Legality[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = !

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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<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, U> TryInto<U> for T where
    U: TryFrom<T>, 

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