pub struct SubscriptionUpdate(pub Subscription);Expand description
The data of the Subscription Update dispatch event.
discord.js counterpart: the SubscriptionUpdate event.
Dereferences to the contained Subscription.
Tuple Fields§
§0: SubscriptionTrait Implementations§
Source§impl Clone for SubscriptionUpdate
impl Clone for SubscriptionUpdate
Source§impl Debug for SubscriptionUpdate
impl Debug for SubscriptionUpdate
Source§impl Deref for SubscriptionUpdate
impl Deref for SubscriptionUpdate
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 SubscriptionUpdate
impl DerefMut for SubscriptionUpdate
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 SubscriptionUpdate
impl<'de> Deserialize<'de> for SubscriptionUpdate
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<SubscriptionUpdate> for Subscription
impl From<SubscriptionUpdate> for Subscription
Source§fn from(event: SubscriptionUpdate) -> Self
fn from(event: SubscriptionUpdate) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SubscriptionUpdate
impl PartialEq for SubscriptionUpdate
Source§impl Serialize for SubscriptionUpdate
impl Serialize for SubscriptionUpdate
impl StructuralPartialEq for SubscriptionUpdate
Auto Trait Implementations§
impl Freeze for SubscriptionUpdate
impl RefUnwindSafe for SubscriptionUpdate
impl Send for SubscriptionUpdate
impl Sync for SubscriptionUpdate
impl Unpin for SubscriptionUpdate
impl UnsafeUnpin for SubscriptionUpdate
impl UnwindSafe for SubscriptionUpdate
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