[][src]Struct toornament::Stream

pub struct Stream {
    pub id: StreamId,
    pub name: String,
    pub url: String,
    pub language: String,
}

A stream object.

Fields

id: StreamId

An hexadecimal unique identifier for this stream. Example: "56742bc7cc3c17ee608b4567"

name: String

Title of the stream. Example: "DreamhackCS"

url: String

Url of the stream. Example: "http://www.twitch.tv/dreamhackcs"

language: String

Language code of the stream content. This value is represented as an ISO 639-1 code. Example: "en"

Trait Implementations

impl Clone for Stream[src]

impl Debug for Stream[src]

impl Default for Stream[src]

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

impl Eq for Stream[src]

impl Ord for Stream[src]

impl PartialEq<Stream> for Stream[src]

impl PartialOrd<Stream> for Stream[src]

impl Serialize for Stream[src]

impl StructuralEq for Stream[src]

impl StructuralPartialEq for Stream[src]

Auto Trait Implementations

impl RefUnwindSafe for Stream

impl Send for Stream

impl Sync for Stream

impl Unpin for Stream

impl UnwindSafe for Stream

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