Struct twilight_model::gateway::event::shard::Identifying [−][src]
Expand description
Indicator that a shard is now identifying with the gateway to create a new session.
Fields
shard_id: u64
The ID of the shard that identified with the gateway.
shard_total: u64
The total shards used by the bot.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Identifying
impl Send for Identifying
impl Sync for Identifying
impl Unpin for Identifying
impl UnwindSafe for Identifying
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more