pub struct GuildSoundboardSoundCreate(pub SoundboardSound);Expand description
The data of the Guild Soundboard Sound Create dispatch event.
discord.js counterpart: the GuildSoundboardSoundCreate event.
Dereferences to the contained SoundboardSound.
Tuple Fields§
§0: SoundboardSoundTrait Implementations§
Source§impl Clone for GuildSoundboardSoundCreate
impl Clone for GuildSoundboardSoundCreate
Source§impl Debug for GuildSoundboardSoundCreate
impl Debug for GuildSoundboardSoundCreate
Source§impl Deref for GuildSoundboardSoundCreate
impl Deref for GuildSoundboardSoundCreate
Source§type Target = SoundboardSound
type Target = SoundboardSound
The resulting type after dereferencing.
Source§fn deref(&self) -> &SoundboardSound
fn deref(&self) -> &SoundboardSound
Dereferences the value.
Source§impl DerefMut for GuildSoundboardSoundCreate
impl DerefMut for GuildSoundboardSoundCreate
Source§fn deref_mut(&mut self) -> &mut SoundboardSound
fn deref_mut(&mut self) -> &mut SoundboardSound
Mutably dereferences the value.
Source§impl<'de> Deserialize<'de> for GuildSoundboardSoundCreate
impl<'de> Deserialize<'de> for GuildSoundboardSoundCreate
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 From<GuildSoundboardSoundCreate> for SoundboardSound
impl From<GuildSoundboardSoundCreate> for SoundboardSound
Source§fn from(event: GuildSoundboardSoundCreate) -> Self
fn from(event: GuildSoundboardSoundCreate) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for GuildSoundboardSoundCreate
Auto Trait Implementations§
impl Forget for GuildSoundboardSoundCreate
impl Freeze for GuildSoundboardSoundCreate
impl Move for GuildSoundboardSoundCreate
impl RefUnwindSafe for GuildSoundboardSoundCreate
impl Send for GuildSoundboardSoundCreate
impl Sync for GuildSoundboardSoundCreate
impl Unpin for GuildSoundboardSoundCreate
impl UnsafeUnpin for GuildSoundboardSoundCreate
impl UnwindSafe for GuildSoundboardSoundCreate
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