1 2 3 4 5 6 7 8 9 10
use crate::id::{ChannelId, GuildId}; use serde::{Deserialize, Serialize}; #[derive(Clone, Debug, Deserialize, Eq, Hash, PartialEq, Serialize)] pub struct VoiceServerUpdate { pub channel_id: Option<ChannelId>, pub endpoint: Option<String>, pub guild_id: Option<GuildId>, pub token: String, }