Struct serenity::model::Gateway [] [src]

pub struct Gateway {
    pub url: String,
}

A representation of the data retrieved from the gateway endpoint.

For the bot-specific gateway, refer to BotGateway.

Fields

The gateway to connect to.

Trait Implementations

impl Clone for Gateway
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Gateway
[src]

[src]

Formats the value using the given formatter.