pub struct VoiceChannelEffectSendEvent<'a> {
pub channel_id: Snowflake,
pub guild_id: Snowflake,
pub user_id: Snowflake,
pub emoji: Option<ReactionEmoji<'a>>,
pub animation_type: Option<u8>,
pub animation_id: Option<u64>,
pub sound_id: Option<Snowflake>,
pub sound_volume: Option<f64>,
}Expand description
Voice channel effect send event.
Fields§
§channel_id: Snowflake§guild_id: Snowflake§user_id: Snowflake§emoji: Option<ReactionEmoji<'a>>§animation_type: Option<u8>§animation_id: Option<u64>§sound_id: Option<Snowflake>§sound_volume: Option<f64>Trait Implementations§
Source§impl<'a> Clone for VoiceChannelEffectSendEvent<'a>
impl<'a> Clone for VoiceChannelEffectSendEvent<'a>
Source§fn clone(&self) -> VoiceChannelEffectSendEvent<'a>
fn clone(&self) -> VoiceChannelEffectSendEvent<'a>
Returns a duplicate 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<'a> Debug for VoiceChannelEffectSendEvent<'a>
impl<'a> Debug for VoiceChannelEffectSendEvent<'a>
Source§impl<'de, 'a> Deserialize<'de> for VoiceChannelEffectSendEvent<'a>
impl<'de, 'a> Deserialize<'de> for VoiceChannelEffectSendEvent<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for VoiceChannelEffectSendEvent<'a>
impl<'a> RefUnwindSafe for VoiceChannelEffectSendEvent<'a>
impl<'a> Send for VoiceChannelEffectSendEvent<'a>
impl<'a> Sync for VoiceChannelEffectSendEvent<'a>
impl<'a> Unpin for VoiceChannelEffectSendEvent<'a>
impl<'a> UnwindSafe for VoiceChannelEffectSendEvent<'a>
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