fluxer-rust 0.2.1

Rust API wrapper for Fluxer
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};

/// Voice connection state, populated internally from gateway events
/// during the voice handshake.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct VoiceState {
    pub token: String,
    pub endpoint: String,
    pub session_id: Option<String>,
}