Struct discord::model::Game [] [src]

pub struct Game {
    pub name: String,
}

Information about a game being played

Fields

name

Methods

impl Game
[src]

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

Trait Implementations

Derived Implementations

impl Clone for Game
[src]

fn clone(&self) -> Game

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Debug for Game
[src]

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

Formats the value using the given formatter.