pub struct VoiceServerUpdate {
pub endpoint: Option<String>,
pub guild_id: Id<GuildMarker>,
pub token: String,
}
Fields§
§endpoint: Option<String>
Discord voice server endpoint.
guild_id: Id<GuildMarker>
§token: String
Voice authentication token to connect to the Discord voice server.
Trait Implementations§
Source§impl Clone for VoiceServerUpdate
impl Clone for VoiceServerUpdate
Source§fn clone(&self) -> VoiceServerUpdate
fn clone(&self) -> VoiceServerUpdate
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VoiceServerUpdate
impl Debug for VoiceServerUpdate
Source§impl<'de> Deserialize<'de> for VoiceServerUpdate
impl<'de> Deserialize<'de> for VoiceServerUpdate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for VoiceServerUpdate
impl Hash for VoiceServerUpdate
Source§impl PartialEq for VoiceServerUpdate
impl PartialEq for VoiceServerUpdate
Source§impl Serialize for VoiceServerUpdate
impl Serialize for VoiceServerUpdate
impl Eq for VoiceServerUpdate
impl StructuralPartialEq for VoiceServerUpdate
Auto Trait Implementations§
impl Freeze for VoiceServerUpdate
impl RefUnwindSafe for VoiceServerUpdate
impl Send for VoiceServerUpdate
impl Sync for VoiceServerUpdate
impl Unpin for VoiceServerUpdate
impl UnwindSafe for VoiceServerUpdate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more