Struct serenity::client::bridge::gateway::event::ShardStageUpdateEvent [] [src]

pub struct ShardStageUpdateEvent {
    pub new: ConnectionStage,
    pub old: ConnectionStage,
    pub shard_id: ShardId,
}

An event denoting that a shard's connection stage was changed.

Examples

This might happen when a shard changes from ConnectionStage::Identifying to ConnectionStage::Connected.

Fields

The new connection stage.

The old connection stage.

The ID of the shard that had its connection stage change.

Trait Implementations

impl Clone for ShardStageUpdateEvent
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ShardStageUpdateEvent
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations