Expand description
Identifies a player (either a user or a guest).
Variants
User
Fields
id: UserId<'a>ID of the user.
A user.
Guest
A guest.
Trait Implementations
sourceimpl<'a> PartialEq<Player<'a>> for Player<'a>
impl<'a> PartialEq<Player<'a>> for Player<'a>
impl<'a> StructuralPartialEq for Player<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Player<'a>
impl<'a> Send for Player<'a>
impl<'a> Sync for Player<'a>
impl<'a> Unpin for Player<'a>
impl<'a> UnwindSafe for Player<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more