Enum discord_sdk::overlay::InviteAction
source · #[repr(u8)]pub enum InviteAction {
Join = 1,
Spectate = 2,
}
Variants§
Trait Implementations§
source§impl Clone for InviteAction
impl Clone for InviteAction
source§fn clone(&self) -> InviteAction
fn clone(&self) -> InviteAction
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 PartialEq for InviteAction
impl PartialEq for InviteAction
source§fn eq(&self, other: &InviteAction) -> bool
fn eq(&self, other: &InviteAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InviteAction
impl Serialize for InviteAction
impl Copy for InviteAction
impl Eq for InviteAction
impl StructuralPartialEq for InviteAction
Auto Trait Implementations§
impl RefUnwindSafe for InviteAction
impl Send for InviteAction
impl Sync for InviteAction
impl Unpin for InviteAction
impl UnwindSafe for InviteAction
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