Enum discord::model::GameType [] [src]

pub enum GameType {
    Playing,
    Streaming,
}

A type of game being played.

Variants

Methods

impl GameType
[src]

Trait Implementations

impl Copy for GameType
[src]

impl Clone for GameType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for GameType
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Eq for GameType
[src]

impl PartialEq for GameType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for GameType
[src]

Formats the value using the given formatter.

impl Serialize for GameType
[src]

Serialize this value into the given Serde serializer. Read more

impl<'d> Deserialize<'d> for GameType
[src]

Deserialize this value from the given Serde deserializer. Read more