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