Struct discord::model::Game
[−]
[src]
pub struct Game { pub name: String, pub url: Option<String>, pub kind: GameType, }
Information about a game being played
Fields
name: String
url: Option<String>
kind: GameType
Methods
impl Game
[src]
fn playing(name: String) -> Game
fn streaming(name: String, url: String) -> Game
fn decode(value: Value) -> Result<Option<Game>>
Trait Implementations
impl Debug for Game
[src]
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