pub struct PlayerId(pub Uuid);
Expand description
Unique identifier for players
Tuple Fields§
§0: Uuid
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PlayerId
impl<'de> Deserialize<'de> for PlayerId
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
impl Copy for PlayerId
impl Eq for PlayerId
impl StructuralPartialEq for PlayerId
Auto Trait Implementations§
impl Freeze for PlayerId
impl RefUnwindSafe for PlayerId
impl Send for PlayerId
impl Sync for PlayerId
impl Unpin for PlayerId
impl UnwindSafe for PlayerId
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