[][src]Struct rlstats::Tier

pub struct Tier {
    pub id: i32,
    pub name: String,
}

A RocketLeague ranked tier.

Fields

id: i32

Increments for every tier and sub-tier.

Example:

[
    Tier {
        id: 0,
        name: "Unranked"
    },
    Tier {
        id: 1,
        name: "Bronze I"
    },
    Tier {
        id: 2,
        name: "Bronze II"
    },
    Tier {
        id: 3,
        name: "Bronze III"
    },
    Tier {
        id: 4,
        name: "Silver I"
    },
    Tier {
        id: 5,
        name: "Silver II"
    },
    Tier {
        id: 6,
        name: "Silver III"
    },
    Tier {
        id: 7,
        name: "Gold I"
    },
    Tier {
        id: 8,
        name: "Gold II"
    },
    ...
]
name: String

Trait Implementations

impl Debug for Tier[src]

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

Auto Trait Implementations

impl RefUnwindSafe for Tier

impl Send for Tier

impl Sync for Tier

impl Unpin for Tier

impl UnwindSafe for Tier

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