#[non_exhaustive]pub struct VoiceChannelStatusUpdate {
pub id: ChannelId,
pub guild_id: GuildId,
pub status: Option<CompactString>,
}Expand description
The data of the Voice Channel Status Update dispatch event.
discord.js counterpart: the VoiceChannelStatusUpdate event.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: ChannelIdThe channel.
guild_id: GuildIdThe guild.
status: Option<CompactString>The new status (None when cleared).
Trait Implementations§
Source§impl Clone for VoiceChannelStatusUpdate
impl Clone for VoiceChannelStatusUpdate
Source§impl Debug for VoiceChannelStatusUpdate
impl Debug for VoiceChannelStatusUpdate
Source§impl<'de> Deserialize<'de> for VoiceChannelStatusUpdate
impl<'de> Deserialize<'de> for VoiceChannelStatusUpdate
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
impl Eq for VoiceChannelStatusUpdate
Source§impl PartialEq for VoiceChannelStatusUpdate
impl PartialEq for VoiceChannelStatusUpdate
Source§impl Serialize for VoiceChannelStatusUpdate
impl Serialize for VoiceChannelStatusUpdate
impl StructuralPartialEq for VoiceChannelStatusUpdate
Auto Trait Implementations§
impl Forget for VoiceChannelStatusUpdate
impl Freeze for VoiceChannelStatusUpdate
impl Move for VoiceChannelStatusUpdate
impl RefUnwindSafe for VoiceChannelStatusUpdate
impl Send for VoiceChannelStatusUpdate
impl Sync for VoiceChannelStatusUpdate
impl Unpin for VoiceChannelStatusUpdate
impl UnsafeUnpin for VoiceChannelStatusUpdate
impl UnwindSafe for VoiceChannelStatusUpdate
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