Struct dasi::model::Game [] [src]

pub struct Game {
    pub name: String,
    pub url: Option<String>,
    pub kind: GameType,
}

Information about a game being played

Fields

name
url
kind

Methods

impl Game

fn playing(name: String) -> Game

fn streaming(name: String, url: String) -> Game

fn decode(value: Value) -> Result<Option<Game>>

Trait Implementations

Derived Implementations

impl Clone for Game

fn clone(&self) -> Game

1.0.0fn clone_from(&mut self, source: &Self)

impl Debug for Game

fn fmt(&self, __arg_0: &mut Formatter) -> Result