Enum serenity::model::event::VoiceEvent
[−]
[src]
pub enum VoiceEvent {
Heartbeat(VoiceHeartbeat),
Hello(VoiceHello),
KeepAlive,
Ready(VoiceSessionDescription),
Speaking(VoiceSpeaking),
Unknown(VoiceOpCode, Value),
}A representation of data received for voice events.
Variants
Heartbeat(VoiceHeartbeat)A voice heartbeat.
Hello(VoiceHello)A "hello" was received with initial voice data, such as the
heartbeat_interval.
KeepAliveA simple keepalive event.
Ready(VoiceSessionDescription)A voice event describing the current session.
Speaking(VoiceSpeaking)A voice event denoting that someone is speaking.
Unknown(VoiceOpCode, Value)An unknown voice event not registered.
Trait Implementations
impl Clone for VoiceEvent[src]
fn clone(&self) -> VoiceEvent[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more