Enum chesscom_openapi::models::completed_game::Rules[][src]

pub enum Rules {
    Chess,
    Chess960,
    Bughouse,
    Kingofthehill,
    Threecheck,
    Crazyhouse,
}

Game variant information (e.g., "chess960")

Variants

Chess
Chess960
Bughouse
Kingofthehill
Threecheck
Crazyhouse

Trait Implementations

impl Clone for Rules[src]

impl Copy for Rules[src]

impl Debug for Rules[src]

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

impl Display for Rules[src]

impl Eq for Rules[src]

impl Hash for Rules[src]

impl Ord for Rules[src]

impl PartialEq<Rules> for Rules[src]

impl PartialOrd<Rules> for Rules[src]

impl Serialize for Rules[src]

impl StructuralEq for Rules[src]

impl StructuralPartialEq for Rules[src]

Auto Trait Implementations

impl RefUnwindSafe for Rules

impl Send for Rules

impl Sync for Rules

impl Unpin for Rules

impl UnwindSafe for Rules

Blanket Implementations

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

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

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

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

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

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

impl<T> Instrument for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.