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