#[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 duplicate 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§impl Serialize for PartyPrivacy
impl Serialize for PartyPrivacy
impl Copy for PartyPrivacy
impl Eq for PartyPrivacy
impl StructuralPartialEq for PartyPrivacy
Auto Trait Implementations§
impl Freeze for PartyPrivacy
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