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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for VoiceEvent
[src]

[src]

Formats the value using the given formatter.