Struct twilight_model::gateway::payload::outgoing::update_voice_state::UpdateVoiceState
source · pub struct UpdateVoiceState {
pub d: UpdateVoiceStateInfo,
pub op: OpCode,
}
Fields§
§d: UpdateVoiceStateInfo
§op: OpCode
Implementations§
Trait Implementations§
source§impl Clone for UpdateVoiceState
impl Clone for UpdateVoiceState
source§fn clone(&self) -> UpdateVoiceState
fn clone(&self) -> UpdateVoiceState
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 UpdateVoiceState
impl Debug for UpdateVoiceState
source§impl<'de> Deserialize<'de> for UpdateVoiceState
impl<'de> Deserialize<'de> for UpdateVoiceState
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 UpdateVoiceState
impl Hash for UpdateVoiceState
source§impl PartialEq<UpdateVoiceState> for UpdateVoiceState
impl PartialEq<UpdateVoiceState> for UpdateVoiceState
source§fn eq(&self, other: &UpdateVoiceState) -> bool
fn eq(&self, other: &UpdateVoiceState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.