Struct twilight_model::gateway::payload::incoming::VoiceServerUpdate
source · pub struct VoiceServerUpdate {
pub endpoint: Option<String>,
pub guild_id: Id<GuildMarker>,
pub token: String,
}
Fields§
§endpoint: Option<String>
Discord voice server endpoint.
guild_id: Id<GuildMarker>
§token: String
Voice authentication token to connect to the Discord voice server.
Trait Implementations§
source§impl Clone for VoiceServerUpdate
impl Clone for VoiceServerUpdate
source§fn clone(&self) -> VoiceServerUpdate
fn clone(&self) -> VoiceServerUpdate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VoiceServerUpdate
impl Debug for VoiceServerUpdate
source§impl<'de> Deserialize<'de> for VoiceServerUpdate
impl<'de> Deserialize<'de> for VoiceServerUpdate
source§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
source§impl Hash for VoiceServerUpdate
impl Hash for VoiceServerUpdate
source§impl PartialEq<VoiceServerUpdate> for VoiceServerUpdate
impl PartialEq<VoiceServerUpdate> for VoiceServerUpdate
source§fn eq(&self, other: &VoiceServerUpdate) -> bool
fn eq(&self, other: &VoiceServerUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.