Struct discord_sdk::activity::events::InviteEvent
source · pub struct InviteEvent(pub Arc<ActivityInvite>);
Tuple Fields§
§0: Arc<ActivityInvite>
Trait Implementations§
source§impl AsRef<ActivityInvite> for InviteEvent
impl AsRef<ActivityInvite> for InviteEvent
source§fn as_ref(&self) -> &ActivityInvite
fn as_ref(&self) -> &ActivityInvite
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for InviteEvent
impl Clone for InviteEvent
source§fn clone(&self) -> InviteEvent
fn clone(&self) -> InviteEvent
Returns a copy 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 Debug for InviteEvent
impl Debug for InviteEvent
source§impl<'de> Deserialize<'de> for InviteEvent
impl<'de> Deserialize<'de> for InviteEvent
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 RefUnwindSafe for InviteEvent
impl Send for InviteEvent
impl Sync for InviteEvent
impl Unpin for InviteEvent
impl UnwindSafe for InviteEvent
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