[][src]Enum speedruns::data::types::RunVideo

pub enum RunVideo {
    YouTube {
        id: String,
        start: Option<i32>,
    },
    Link {
        url: String,
    },
}

Variants

YouTube

Fields of YouTube

id: Stringstart: Option<i32>

Fields of Link

url: String

Trait Implementations

impl Clone for RunVideo[src]

impl Debug for RunVideo[src]

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

impl Display for RunVideo[src]

impl Eq for RunVideo[src]

impl FromStr for RunVideo[src]

type Err = !

The associated error which can be returned from parsing.

impl Hash for RunVideo[src]

impl Ord for RunVideo[src]

impl PartialEq<RunVideo> for RunVideo[src]

impl PartialOrd<RunVideo> for RunVideo[src]

impl Serialize for RunVideo[src]

impl StructuralEq for RunVideo[src]

impl StructuralPartialEq for RunVideo[src]

Auto Trait Implementations

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> FromArgValue for T where
    T: FromStr,
    <T as FromStr>::Err: Display
[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> ToString for T where
    T: Display + ?Sized
[src]

impl<'a, T> TryFrom<&'a str> for T where
    T: FromStr

type Err = <T as FromStr>::Err

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