Enum discord_sdk::activity::JoinRequestReply
source · pub enum JoinRequestReply {
No,
Yes,
Ignore,
}
Expand description
Variants§
No
Rejects the join request
Yes
Accepts the join request
Ignore
Ignores the join request. This is semantically no different from No
,
at least in the current state of the Discord API
Trait Implementations§
source§impl Clone for JoinRequestReply
impl Clone for JoinRequestReply
source§fn clone(&self) -> JoinRequestReply
fn clone(&self) -> JoinRequestReply
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 JoinRequestReply
impl Debug for JoinRequestReply
source§impl From<bool> for JoinRequestReply
impl From<bool> for JoinRequestReply
source§impl PartialEq for JoinRequestReply
impl PartialEq for JoinRequestReply
source§fn eq(&self, other: &JoinRequestReply) -> bool
fn eq(&self, other: &JoinRequestReply) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for JoinRequestReply
impl Eq for JoinRequestReply
impl StructuralPartialEq for JoinRequestReply
Auto Trait Implementations§
impl RefUnwindSafe for JoinRequestReply
impl Send for JoinRequestReply
impl Sync for JoinRequestReply
impl Unpin for JoinRequestReply
impl UnwindSafe for JoinRequestReply
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