[][src]Enum riven::consts::Season

#[non_exhaustive]#[repr(u8)]pub enum Season {
    PRESEASON_3,
    SEASON_3,
    PRESEASON_2014,
    SEASON_2014,
    PRESEASON_2015,
    SEASON_2015,
    PRESEASON_2016,
    SEASON_2016,
    PRESEASON_2017,
    SEASON_2017,
    PRESEASON_2018,
    SEASON_2018,
    PRESEASON_2019,
    SEASON_2019,
}

League of Legends matchmaking seasons.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PRESEASON_3
SEASON_3
PRESEASON_2014
SEASON_2014
PRESEASON_2015
SEASON_2015
PRESEASON_2016
SEASON_2016
PRESEASON_2017
SEASON_2017
PRESEASON_2018
SEASON_2018
PRESEASON_2019
SEASON_2019

Trait Implementations

impl Clone for Season[src]

impl Copy for Season[src]

impl Debug for Season[src]

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

impl Eq for Season[src]

impl From<Season> for u8[src]

impl Hash for Season[src]

impl Ord for Season[src]

impl PartialEq<Season> for Season[src]

impl PartialOrd<Season> for Season[src]

impl Serialize for Season[src]

impl StructuralEq for Season[src]

impl StructuralPartialEq for Season[src]

impl TryFrom<u8> for Season[src]

type Error = TryFromPrimitiveError<Self>

The type returned in the event of a conversion error.

impl TryFromPrimitive for Season[src]

type Primitive = u8

Auto Trait Implementations

impl RefUnwindSafe for Season

impl Send for Season

impl Sync for Season

impl Unpin for Season

impl UnwindSafe for Season

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, 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, 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.