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