pub enum PlayerProfile {
Name(PlayerName),
Profile(Profile),
}Variants§
Name(PlayerName)
Profile(Profile)
Trait Implementations§
Source§impl Clone for PlayerProfile
impl Clone for PlayerProfile
Source§fn clone(&self) -> PlayerProfile
fn clone(&self) -> PlayerProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlayerProfile
impl Debug for PlayerProfile
Source§impl<'de> Deserialize<'de> for PlayerProfile
impl<'de> Deserialize<'de> for PlayerProfile
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 PlayerProfile
impl PartialEq for PlayerProfile
Source§impl Serialize for PlayerProfile
impl Serialize for PlayerProfile
impl StructuralPartialEq for PlayerProfile
Auto Trait Implementations§
impl Freeze for PlayerProfile
impl RefUnwindSafe for PlayerProfile
impl Send for PlayerProfile
impl Sync for PlayerProfile
impl Unpin for PlayerProfile
impl UnsafeUnpin for PlayerProfile
impl UnwindSafe for PlayerProfile
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