Enum serenity::model::event::VoiceEvent[][src]

pub enum VoiceEvent {
    Heartbeat(VoiceHeartbeat),
    Hello(VoiceHello),
    KeepAlive,
    Ready(VoiceSessionDescription),
    Speaking(VoiceSpeaking),
    Unknown(VoiceOpCodeValue),
}

A representation of data received for voice events.

Variants

A voice heartbeat.

A "hello" was received with initial voice data, such as the heartbeat_interval.

A simple keepalive event.

A voice event describing the current session.

A voice event denoting that someone is speaking.

An unknown voice event not registered.

Trait Implementations

impl Clone for VoiceEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for VoiceEvent
[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for VoiceEvent
[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for VoiceEvent

impl Sync for VoiceEvent