[][src]Struct speedruns::data::types::Level

pub struct Level {
    pub game_id: u64,
    pub id: u64,
    pub slug: String,
    pub name: String,
    pub rules: String,
}

Fields

game_id: u64id: u64slug: Stringname: Stringrules: String

Methods

impl Level[src]

pub fn game_id(&self) -> &u64[src]

pub fn id(&self) -> &u64[src]

pub fn slug(&self) -> &String[src]

pub fn name(&self) -> &String[src]

pub fn rules(&self) -> &String[src]

impl Level[src]

pub fn src_id(&self) -> String[src]

This item's ID as it would be formatted for SpeedRun.Com.

pub fn src_slug(&self) -> String[src]

This item's URL as it would be formatted for SpeedRun.com.

Trait Implementations

impl Clone for Level[src]

impl Debug for Level[src]

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

impl Eq for Level[src]

impl From<Level> for AnyModel[src]

impl Hash for Level[src]

impl Model for Level[src]

impl Ord for Level[src]

impl PartialEq<Level> for Level[src]

impl PartialOrd<Level> for Level[src]

impl Serialize for Level[src]

impl StructuralEq for Level[src]

impl StructuralPartialEq for Level[src]

impl TryFrom<AnyModel> for Level[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl Validate for Level[src]

Auto Trait Implementations

impl RefUnwindSafe for Level

impl Send for Level

impl Sync for Level

impl Unpin for Level

impl UnwindSafe for Level

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: 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> Same<T> for T

type Output = T

Should always be Self

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.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,